Record Class OverrideResolver.ReferenceAdaptation
java.lang.Object
java.lang.Record
io.micronaut.sourcegen.generator.OverrideResolver.ReferenceAdaptation
- Record Components:
argumentTypes- The type each value the functional interface passes is cast to, ornullwhere it is passed as isargumentConversions- The types each value is converted to before its argument type, the outer first: the raw bound of a variable, and the box of a primitiveresultType- The type the result is cast to, ornullwhere it is returned as isresultBound- The raw bound of a variable result type the result is converted to first, ornull
- Enclosing class:
OverrideResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentConversionsrecord component.Returns the value of theargumentTypesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable TypeDefReturns the value of theresultBoundrecord component.@Nullable TypeDefReturns the value of theresultTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReferenceAdaptation
public ReferenceAdaptation(List<@Nullable TypeDef> argumentTypes, List<List<TypeDef>> argumentConversions, @Nullable TypeDef resultType, @Nullable TypeDef resultBound) Creates an instance of aReferenceAdaptationrecord class.- Parameters:
argumentTypes- the value for theargumentTypesrecord componentargumentConversions- the value for theargumentConversionsrecord componentresultType- the value for theresultTyperecord componentresultBound- the value for theresultBoundrecord 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). -
argumentTypes
Returns the value of theargumentTypesrecord component.- Returns:
- the value of the
argumentTypesrecord component
-
argumentConversions
Returns the value of theargumentConversionsrecord component.- Returns:
- the value of the
argumentConversionsrecord component
-
resultType
Returns the value of theresultTyperecord component.- Returns:
- the value of the
resultTyperecord component
-
resultBound
Returns the value of theresultBoundrecord component.- Returns:
- the value of the
resultBoundrecord component
-