Record Class ScalaClassValueData
java.lang.Object
java.lang.Record
io.micronaut.scala.processing.visitor.ScalaClassValueData
- Record Components:
name- The class nameannotationType- The annotation type data if the class literal points at an annotation
public record ScalaClassValueData(String name, @Nullable ScalaAnnotationTypeData annotationType)
extends Record
Compiler-derived class literal data used by annotation metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionScalaClassValueData(String name, @Nullable ScalaAnnotationTypeData annotationType) Creates an instance of aScalaClassValueDatarecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable ScalaAnnotationTypeDataReturns the value of theannotationTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScalaClassValueData
Creates an instance of aScalaClassValueDatarecord class.- Parameters:
name- the value for thenamerecord componentannotationType- the value for theannotationTyperecord 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). -
name
-
annotationType
Returns the value of theannotationTyperecord component.- Returns:
- the value of the
annotationTyperecord component
-