类 LambdaExpression
java.lang.Object
proguard.backport.LambdaExpression
A small helper class that captures useful information about a lambda expression as encountered in
a class file.
-
字段概要
字段 -
构造器概要
构造器构造器说明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, int lambdaExpressionIndex) Creates a new initialized LambdaExpression (except for the lambdaClass). -
方法概要
修饰符和类型方法说明Returns the class name of the converted anonymous class.booleanReturns whether the invoked method is a static interface method.booleanReturns whether the lambda expression is actually a method reference.booleanReturns whether the lambda expression is serializable.booleanReturns whether the lambda expression is stateless.booleanReturns whether an accessor method is needed to access the invoked method from the lambda class.booleanReturns whether the lambda expression is a method reference to a private constructor.
-
字段详细资料
-
referencedClass
-
bootstrapMethodIndex
public int bootstrapMethodIndex -
bootstrapMethodInfo
-
factoryMethodDescriptor
-
interfaces
-
bridgeMethodDescriptors
-
interfaceMethod
-
interfaceMethodDescriptor
-
invokedReferenceKind
public int invokedReferenceKind -
invokedClassName
-
invokedMethodName
-
invokedMethodDesc
-
referencedInvokedClass
-
referencedInvokedMethod
-
lambdaClass
-
-
构造器详细资料
-
LambdaExpression
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, int lambdaExpressionIndex) Creates a new initialized LambdaExpression (except for the lambdaClass).
-
-
方法详细资料
-
getLambdaClassName
Returns the class name of the converted anonymous class. -
getConstructorDescriptor
-
isSerializable
public boolean isSerializable()Returns whether the lambda expression is serializable. -
isMethodReference
public boolean isMethodReference()Returns whether the lambda expression is actually a method reference. -
isStateless
public boolean isStateless()Returns whether the lambda expression is stateless. -
invokesStaticInterfaceMethod
public boolean invokesStaticInterfaceMethod()Returns whether the invoked method is a static interface method. -
needsAccessorMethod
public boolean needsAccessorMethod()Returns whether an accessor method is needed to access the invoked method from the lambda class. -
referencesPrivateConstructor
public boolean referencesPrivateConstructor()Returns whether the lambda expression is a method reference to a private constructor.
-