Package com.vaadin.copilot
Record Class JavaReflectionUtil.ParameterTypeInfo
java.lang.Object
java.lang.Record
com.vaadin.copilot.JavaReflectionUtil.ParameterTypeInfo
- Enclosing class:
JavaReflectionUtil
public static record JavaReflectionUtil.ParameterTypeInfo(String parameterName, JavaReflectionUtil.TypeInfo typeInfo)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParameterTypeInfo(String parameterName, JavaReflectionUtil.TypeInfo typeInfo) Creates an instance of aParameterTypeInforecord 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.Returns the value of theparameterNamerecord component.final StringtoString()Returns a string representation of this record class.typeInfo()Returns the value of thetypeInforecord component.
-
Constructor Details
-
ParameterTypeInfo
Creates an instance of aParameterTypeInforecord class.- Parameters:
parameterName- the value for theparameterNamerecord componenttypeInfo- the value for thetypeInforecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-
typeInfo
Returns the value of thetypeInforecord component.- Returns:
- the value of the
typeInforecord component
-