Package de.inetsoftware.classparser
Class BootstrapMethod
- java.lang.Object
-
- de.inetsoftware.classparser.BootstrapMethod
-
public class BootstrapMethod extends java.lang.Objecthttps://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.23
-
-
Field Summary
Fields Modifier and Type Field Description private ConstantMethodRefimplMethodA direct method handle describing the implementation method which should be calledprivate java.lang.StringinstantiatedMethodTypeThe signature and return type that should be enforced dynamically at invocation time.private java.lang.StringsamMethodTypeSignature and return type of method to be implemented by the function object.
-
Constructor Summary
Constructors Constructor Description BootstrapMethod(java.io.DataInputStream input, ConstantPool constantPool)Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstantMethodRefgetImplMethod()The real method in the parent class that implements the lambda expressionjava.lang.StringgetSamMethodType()Signature and return type of method to be implemented by the function object.
-
-
-
Field Detail
-
samMethodType
private java.lang.String samMethodType
Signature and return type of method to be implemented by the function object.
-
implMethod
private ConstantMethodRef implMethod
A direct method handle describing the implementation method which should be called
-
instantiatedMethodType
private java.lang.String instantiatedMethodType
The signature and return type that should be enforced dynamically at invocation time. This may be the same assamMethodType, or may be a specialization of it.
-
-
Constructor Detail
-
BootstrapMethod
BootstrapMethod(java.io.DataInputStream input, ConstantPool constantPool) throws java.io.IOExceptionCreate an instance.- Throws:
java.io.IOException
-
-
Method Detail
-
getSamMethodType
public java.lang.String getSamMethodType()
Signature and return type of method to be implemented by the function object.- Returns:
- the signature
- See Also:
parameter samMethodType
-
getImplMethod
public ConstantMethodRef getImplMethod()
The real method in the parent class that implements the lambda expression- Returns:
- the method
-
-