Record Class AotRepositoryFragmentMetadata.ConstructorArgument
java.lang.Object
java.lang.Record
org.springframework.data.repository.aot.generate.AotRepositoryFragmentMetadata.ConstructorArgument
- Record Components:
parameterName-typeName-fieldName-
- Enclosing class:
AotRepositoryFragmentMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorArgument(String parameterName, org.springframework.javapoet.TypeName typeName, @Nullable String fieldName) Creates an instance of aConstructorArgumentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable StringReturns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparameterNamerecord component.final StringtoString()Returns a string representation of this record class.org.springframework.javapoet.TypeNametypeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
ConstructorArgument
public ConstructorArgument(String parameterName, org.springframework.javapoet.TypeName typeName, @Nullable String fieldName) Creates an instance of aConstructorArgumentrecord class.- Parameters:
parameterName- the value for theparameterNamerecord componenttypeName- the value for thetypeNamerecord componentfieldName- the value for thefieldNamerecord 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). -
parameterName
Returns the value of theparameterNamerecord component.- Returns:
- the value of the
parameterNamerecord component
-
typeName
-
fieldName
-