Record Class LambdaHint.DeclaringMethod
java.lang.Object
java.lang.Record
org.springframework.aot.hint.LambdaHint.DeclaringMethod
- Record Components:
name- the name of the methodparameterTypes- the parameter types
- Enclosing class:
LambdaHint
public static record LambdaHint.DeclaringMethod(String name, List<TypeReference> parameterTypes)
extends Record
Describe a method.
- Since:
- 7.0.6
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionDeclaringMethod(String name, List<TypeReference> parameterTypes) Creates an instance of aDeclaringMethodrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.Returns the value of theparameterTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeclaringMethod
Creates an instance of aDeclaringMethodrecord class.- Parameters:
name- the value for thenamerecord componentparameterTypes- the value for theparameterTypesrecord 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
-
parameterTypes
Returns the value of theparameterTypesrecord component.- Returns:
- the value of the
parameterTypesrecord component
-