类 LambdaExpression
- java.lang.Object
-
- proguard.backport.LambdaExpression
-
public class LambdaExpression extends java.lang.ObjectA small helper class that captures useful information about a lambda expression as encountered in a class file.
-
-
字段概要
字段 修饰符和类型 字段 说明 intbootstrapMethodIndexproguard.classfile.attribute.BootstrapMethodInfobootstrapMethodInfojava.lang.String[]bridgeMethodDescriptorsjava.lang.StringfactoryMethodDescriptorjava.lang.StringinterfaceMethodjava.lang.StringinterfaceMethodDescriptorjava.lang.String[]interfacesjava.lang.StringinvokedClassNamejava.lang.StringinvokedMethodDescjava.lang.StringinvokedMethodNameintinvokedReferenceKindproguard.classfile.ProgramClasslambdaClassproguard.classfile.ProgramClassreferencedClassproguard.classfile.ClazzreferencedInvokedClassproguard.classfile.MethodreferencedInvokedMethod
-
构造器概要
构造器 构造器 说明 LambdaExpression(proguard.classfile.ProgramClass referencedClass, int bootstrapMethodIndex, proguard.classfile.attribute.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, proguard.classfile.Clazz referencedInvokedClass, proguard.classfile.Method referencedInvokedMethod)Creates a new initialized LambdaExpression (except for the lambdaClass).
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.StringgetConstructorDescriptor()java.lang.StringgetLambdaClassName()Returns the class name of the converted anonymous class.booleaninvokesStaticInterfaceMethod()Returns whether the invoked method is a static interface method.booleanisMethodReference()Returns whether the lambda expression is actually a method reference.booleanisSerializable()Returns whether the lambda expression is serializable.booleanisStateless()Returns whether the lambda expression is stateless.booleanneedsAccessorMethod()Returns whether an accessor method is needed to access the invoked method from the lambda class.booleanreferencesPrivateConstructor()Returns whether the lambda expression is a method reference to a private constructor.
-
-
-
字段详细资料
-
referencedClass
public proguard.classfile.ProgramClass referencedClass
-
bootstrapMethodIndex
public int bootstrapMethodIndex
-
bootstrapMethodInfo
public proguard.classfile.attribute.BootstrapMethodInfo bootstrapMethodInfo
-
factoryMethodDescriptor
public java.lang.String factoryMethodDescriptor
-
interfaces
public java.lang.String[] interfaces
-
bridgeMethodDescriptors
public java.lang.String[] bridgeMethodDescriptors
-
interfaceMethod
public java.lang.String interfaceMethod
-
interfaceMethodDescriptor
public java.lang.String interfaceMethodDescriptor
-
invokedReferenceKind
public int invokedReferenceKind
-
invokedClassName
public java.lang.String invokedClassName
-
invokedMethodName
public java.lang.String invokedMethodName
-
invokedMethodDesc
public java.lang.String invokedMethodDesc
-
referencedInvokedClass
public proguard.classfile.Clazz referencedInvokedClass
-
referencedInvokedMethod
public proguard.classfile.Method referencedInvokedMethod
-
lambdaClass
public proguard.classfile.ProgramClass lambdaClass
-
-
构造器详细资料
-
LambdaExpression
public LambdaExpression(proguard.classfile.ProgramClass referencedClass, int bootstrapMethodIndex, proguard.classfile.attribute.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, proguard.classfile.Clazz referencedInvokedClass, proguard.classfile.Method referencedInvokedMethod)Creates a new initialized LambdaExpression (except for the lambdaClass).
-
-
方法详细资料
-
getLambdaClassName
public java.lang.String getLambdaClassName()
Returns the class name of the converted anonymous class.
-
getConstructorDescriptor
public java.lang.String 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.
-
-