Package io.quarkus.deployment.index
Record Class LazyIndexer.Result
java.lang.Object
java.lang.Record
io.quarkus.deployment.index.LazyIndexer.Result
- Enclosing class:
LazyIndexer
public static record LazyIndexer.Result(org.jboss.jandex.Index index, Set<org.jboss.jandex.DotName> missingAnnotations)
extends Record
A result of lazy indexing process. Contains mainly a Jandex
Index,
but also a set of annotation types whose classes were not found. It is perfectly
normal for an annotation class to be missing, so this is not an error.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.jboss.jandex.Indexindex()Returns the value of theindexrecord component.Set<org.jboss.jandex.DotName> Returns the value of themissingAnnotationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
index- the value for theindexrecord componentmissingAnnotations- the value for themissingAnnotationsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
index
public org.jboss.jandex.Index index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
missingAnnotations
Returns the value of themissingAnnotationsrecord component.- Returns:
- the value of the
missingAnnotationsrecord component
-