Record Class MicronautAotOptimization
java.lang.Object
java.lang.Record
io.micronaut.starter.feature.build.MicronautAotOptimization
-
Constructor Summary
ConstructorsConstructorDescriptionMicronautAotOptimization(@NonNull String key, Object value, @Nullable String comment) Creates an instance of aMicronautAotOptimizationrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringcomment()Returns the value of thecommentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull Stringkey()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
MicronautAotOptimization
public MicronautAotOptimization(@NonNull @NonNull String key, Object value, @Nullable @Nullable String comment) Creates an instance of aMicronautAotOptimizationrecord class.- Parameters:
key- the value for thekeyrecord componentvalue- the value for thevaluerecord componentcomment- the value for thecommentrecord 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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
comment
Returns the value of thecommentrecord component.- Returns:
- the value of the
commentrecord component
-