Record Class AbstractFunctionalInterfaceWriter.SerializedLambdaFingerprint
java.lang.Object
java.lang.Record
org.codehaus.groovy.classgen.asm.sc.AbstractFunctionalInterfaceWriter.SerializedLambdaFingerprint
- Enclosing interface:
- AbstractFunctionalInterfaceWriter
public static record AbstractFunctionalInterfaceWriter.SerializedLambdaFingerprint(String capturingClass, int implMethodKind, String implClass, String implMethodName, String implMethodSignature, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, String instantiatedMethodType, int capturedArgCount)
extends Record
Compile-time identity of one serialized functional-interface target used by
$deserializeLambda$ dispatch.-
Constructor Summary
ConstructorsConstructorDescriptionSerializedLambdaFingerprint(String capturingClass, int implMethodKind, String implClass, String implMethodName, String implMethodSignature, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, String instantiatedMethodType, int capturedArgCount) Creates an instance of aSerializedLambdaFingerprintrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecapturedArgCountrecord component.Returns the value of thecapturingClassrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionalInterfaceClassrecord component.Returns the value of thefunctionalInterfaceMethodNamerecord component.Returns the value of thefunctionalInterfaceMethodSignaturerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theimplClassrecord component.intReturns the value of theimplMethodKindrecord component.Returns the value of theimplMethodNamerecord component.Returns the value of theimplMethodSignaturerecord component.Returns the value of theinstantiatedMethodTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SerializedLambdaFingerprint
public SerializedLambdaFingerprint(String capturingClass, int implMethodKind, String implClass, String implMethodName, String implMethodSignature, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, String instantiatedMethodType, int capturedArgCount) Creates an instance of aSerializedLambdaFingerprintrecord class.- Parameters:
capturingClass- the value for thecapturingClassrecord componentimplMethodKind- the value for theimplMethodKindrecord componentimplClass- the value for theimplClassrecord componentimplMethodName- the value for theimplMethodNamerecord componentimplMethodSignature- the value for theimplMethodSignaturerecord componentfunctionalInterfaceClass- the value for thefunctionalInterfaceClassrecord componentfunctionalInterfaceMethodName- the value for thefunctionalInterfaceMethodNamerecord componentfunctionalInterfaceMethodSignature- the value for thefunctionalInterfaceMethodSignaturerecord componentinstantiatedMethodType- the value for theinstantiatedMethodTyperecord componentcapturedArgCount- the value for thecapturedArgCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
capturingClass
Returns the value of thecapturingClassrecord component.- Returns:
- the value of the
capturingClassrecord component
-
implMethodKind
public int implMethodKind()Returns the value of theimplMethodKindrecord component.- Returns:
- the value of the
implMethodKindrecord component
-
implClass
Returns the value of theimplClassrecord component.- Returns:
- the value of the
implClassrecord component
-
implMethodName
Returns the value of theimplMethodNamerecord component.- Returns:
- the value of the
implMethodNamerecord component
-
implMethodSignature
Returns the value of theimplMethodSignaturerecord component.- Returns:
- the value of the
implMethodSignaturerecord component
-
functionalInterfaceClass
Returns the value of thefunctionalInterfaceClassrecord component.- Returns:
- the value of the
functionalInterfaceClassrecord component
-
functionalInterfaceMethodName
Returns the value of thefunctionalInterfaceMethodNamerecord component.- Returns:
- the value of the
functionalInterfaceMethodNamerecord component
-
functionalInterfaceMethodSignature
Returns the value of thefunctionalInterfaceMethodSignaturerecord component.- Returns:
- the value of the
functionalInterfaceMethodSignaturerecord component
-
instantiatedMethodType
Returns the value of theinstantiatedMethodTyperecord component.- Returns:
- the value of the
instantiatedMethodTyperecord component
-
capturedArgCount
public int capturedArgCount()Returns the value of thecapturedArgCountrecord component.- Returns:
- the value of the
capturedArgCountrecord component
-