public class LambdaExpression
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
bootstrapMethodIndex |
BootstrapMethodInfo |
bootstrapMethodInfo |
java.lang.String[] |
bridgeMethodDescriptors |
java.lang.String |
factoryMethodDescriptor |
java.lang.String |
interfaceMethod |
java.lang.String |
interfaceMethodDescriptor |
java.lang.String[] |
interfaces |
java.lang.String |
invokedClassName |
java.lang.String |
invokedMethodDesc |
java.lang.String |
invokedMethodName |
int |
invokedReferenceKind |
ProgramClass |
lambdaClass |
ProgramClass |
referencedClass |
Clazz |
referencedInvokedClass |
Method |
referencedInvokedMethod |
Constructor and Description |
---|
LambdaExpression(ProgramClass referencedClass,
int bootstrapMethodIndex,
BootstrapMethodInfo bootstrapMethodInfo,
java.lang.String factoryMethodDescriptor,
java.lang.String[] interfaces,
java.lang.String[] bridgeMethodDescriptors,
java.lang.String interfaceMethod,
java.lang.String interfaceMethodDescriptor,
int invokedReferenceKind,
java.lang.String invokedClassName,
java.lang.String invokedMethodName,
java.lang.String invokedMethodDesc,
Clazz referencedInvokedClass,
Method referencedInvokedMethod,
int lambdaExpressionIndex)
Creates a new initialized LambdaExpression (except for the lambdaClass).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConstructorDescriptor() |
java.lang.String |
getLambdaClassName()
Returns the class name of the converted anonymous class.
|
boolean |
invokesStaticInterfaceMethod()
Returns whether the invoked method is a static interface method.
|
boolean |
isMethodReference()
Returns whether the lambda expression is actually a method reference.
|
boolean |
isSerializable()
Returns whether the lambda expression is serializable.
|
boolean |
isStateless()
Returns whether the lambda expression is stateless.
|
boolean |
needsAccessorMethod()
Returns whether an accessor method is needed to access the invoked method from the lambda
class.
|
boolean |
referencesPrivateConstructor()
Returns whether the lambda expression is a method reference to a private constructor.
|
public ProgramClass referencedClass
public int bootstrapMethodIndex
public BootstrapMethodInfo bootstrapMethodInfo
public java.lang.String factoryMethodDescriptor
public java.lang.String[] interfaces
public java.lang.String[] bridgeMethodDescriptors
public java.lang.String interfaceMethod
public java.lang.String interfaceMethodDescriptor
public int invokedReferenceKind
public java.lang.String invokedClassName
public java.lang.String invokedMethodName
public java.lang.String invokedMethodDesc
public Clazz referencedInvokedClass
public Method referencedInvokedMethod
public ProgramClass lambdaClass
public LambdaExpression(ProgramClass referencedClass, int bootstrapMethodIndex, BootstrapMethodInfo bootstrapMethodInfo, java.lang.String factoryMethodDescriptor, java.lang.String[] interfaces, java.lang.String[] bridgeMethodDescriptors, java.lang.String interfaceMethod, java.lang.String interfaceMethodDescriptor, int invokedReferenceKind, java.lang.String invokedClassName, java.lang.String invokedMethodName, java.lang.String invokedMethodDesc, Clazz referencedInvokedClass, Method referencedInvokedMethod, int lambdaExpressionIndex)
public java.lang.String getLambdaClassName()
public java.lang.String getConstructorDescriptor()
public boolean isSerializable()
public boolean isMethodReference()
public boolean isStateless()
public boolean invokesStaticInterfaceMethod()
public boolean needsAccessorMethod()
public boolean referencesPrivateConstructor()