Record Class ClassFileParameterAnnotations.EnumValue
java.lang.Object
java.lang.Record
io.micronaut.scala.processing.visitor.ClassFileParameterAnnotations.EnumValue
- Record Components:
typeName- The enum type's binary nameconstantName- The constant's name
- Enclosing class:
ClassFileParameterAnnotations
-
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.typeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
EnumValue
Creates an instance of aEnumValuerecord class.- Parameters:
typeName- the value for thetypeNamerecord componentconstantName- the value for theconstantNamerecord component
-
-
Method Details
-
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). -
typeName
-
constantName
Returns the value of theconstantNamerecord component.- Returns:
- the value of the
constantNamerecord component
-