Record Class ParsedAnnotationValue.EnumValue
java.lang.Object
java.lang.Record
dev.archunitjava.importer.ParsedAnnotationValue.EnumValue
- All Implemented Interfaces:
ParsedAnnotationValue, Comparable<ParsedAnnotationValue>
- Enclosing interface:
ParsedAnnotationValue
public static record ParsedAnnotationValue.EnumValue(String typeDescriptor, String constantName)
extends Record
implements ParsedAnnotationValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface ParsedAnnotationValue
ParsedAnnotationValue.ArrayValue, ParsedAnnotationValue.ClassValue, ParsedAnnotationValue.EnumValue, ParsedAnnotationValue.NestedAnnotationValue, ParsedAnnotationValue.ScalarKind, ParsedAnnotationValue.ScalarValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstantNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeDescriptorrecord component.Methods inherited from interface ParsedAnnotationValue
compareTo
-
Constructor Details
-
EnumValue
-
-
Method Details
-
stableKey
- Specified by:
stableKeyin interfaceParsedAnnotationValue
-
toString
-
hashCode
-
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). -
typeDescriptor
Returns the value of thetypeDescriptorrecord component.- Returns:
- the value of the
typeDescriptorrecord component
-
constantName
Returns the value of theconstantNamerecord component.- Returns:
- the value of the
constantNamerecord component
-