public class LambdaExpression extends Object
| Constructor and Description |
|---|
LambdaExpression(ProgramClass referencedClass,
int bootstrapMethodIndex,
BootstrapMethodInfo bootstrapMethodInfo,
String factoryMethodDescriptor,
String[] interfaces,
String[] bridgeMethodDescriptors,
String interfaceMethod,
String interfaceMethodDescriptor,
int invokedReferenceKind,
String invokedClassName,
String invokedMethodName,
String invokedMethodDesc,
Clazz referencedInvokedClass,
Method referencedInvokedMethod)
Creates a new initialized LambdaExpression (except for the lambdaClass).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConstructorDescriptor() |
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 String factoryMethodDescriptor
public String[] interfaces
public String[] bridgeMethodDescriptors
public String interfaceMethod
public String interfaceMethodDescriptor
public int invokedReferenceKind
public String invokedClassName
public String invokedMethodName
public String invokedMethodDesc
public Clazz referencedInvokedClass
public Method referencedInvokedMethod
public ProgramClass lambdaClass
public LambdaExpression(ProgramClass referencedClass, int bootstrapMethodIndex, BootstrapMethodInfo bootstrapMethodInfo, String factoryMethodDescriptor, String[] interfaces, String[] bridgeMethodDescriptors, String interfaceMethod, String interfaceMethodDescriptor, int invokedReferenceKind, String invokedClassName, String invokedMethodName, String invokedMethodDesc, Clazz referencedInvokedClass, Method referencedInvokedMethod)
public String getLambdaClassName()
public String getConstructorDescriptor()
public boolean isSerializable()
public boolean isMethodReference()
public boolean isStateless()
public boolean invokesStaticInterfaceMethod()
public boolean needsAccessorMethod()
public boolean referencesPrivateConstructor()
Copyright © 2019. All rights reserved.