Record Class LambdaSite
java.lang.Object
java.lang.Record
io.github.jabrena.juno.linker.LambdaSite
public record LambdaSite(LambdaCallSite callSite, String syntheticClassName, MethodRef interfaceMethod, MethodHandleRef implementation, List<String> captureTypes, String instantiatedMethodDescriptor)
extends Record
Fully resolved
LambdaMetafactory.metafactory call site.-
Constructor Summary
ConstructorsConstructorDescriptionLambdaSite(LambdaCallSite callSite, String syntheticClassName, MethodRef interfaceMethod, MethodHandleRef implementation, List<String> captureTypes, String instantiatedMethodDescriptor) Creates an instance of aLambdaSiterecord class. -
Method Summary
Modifier and TypeMethodDescriptioncallSite()Returns the value of thecallSiterecord component.Returns the value of thecaptureTypesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimplementationrecord component.Returns the value of theinstantiatedMethodDescriptorrecord component.Returns the value of theinterfaceMethodrecord component.booleanReturns the value of thesyntheticClassNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LambdaSite
public LambdaSite(LambdaCallSite callSite, String syntheticClassName, MethodRef interfaceMethod, MethodHandleRef implementation, List<String> captureTypes, String instantiatedMethodDescriptor) Creates an instance of aLambdaSiterecord class.- Parameters:
callSite- the value for thecallSiterecord componentsyntheticClassName- the value for thesyntheticClassNamerecord componentinterfaceMethod- the value for theinterfaceMethodrecord componentimplementation- the value for theimplementationrecord componentcaptureTypes- the value for thecaptureTypesrecord componentinstantiatedMethodDescriptor- the value for theinstantiatedMethodDescriptorrecord component
-
-
Method Details
-
isCapturing
public boolean isCapturing() -
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). -
callSite
Returns the value of thecallSiterecord component.- Returns:
- the value of the
callSiterecord component
-
syntheticClassName
Returns the value of thesyntheticClassNamerecord component.- Returns:
- the value of the
syntheticClassNamerecord component
-
interfaceMethod
Returns the value of theinterfaceMethodrecord component.- Returns:
- the value of the
interfaceMethodrecord component
-
implementation
Returns the value of theimplementationrecord component.- Returns:
- the value of the
implementationrecord component
-
captureTypes
-
instantiatedMethodDescriptor
Returns the value of theinstantiatedMethodDescriptorrecord component.- Returns:
- the value of the
instantiatedMethodDescriptorrecord component
-