Package proguard.classfile.attribute
Class BootstrapMethodInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.BootstrapMethodInfo
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
public class BootstrapMethodInfo extends SimpleProcessable
Representation of a bootstrap method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FLAG_BRIDGES
static int
FLAG_MARKERS
static int
FLAG_SERIALIZABLE
int
u2methodArgumentCount
int[]
u2methodArguments
int
u2methodHandleIndex
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description BootstrapMethodInfo()
Creates an uninitialized BootstrapMethodInfo.BootstrapMethodInfo(int u2methodHandleIndex, int u2methodArgumentCount, int[] u2methodArguments)
Creates an initialized BootstrapMethodInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
methodArgumentsAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the argument constants of the bootstrap method.void
methodHandleAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the method handle of the bootstrap method.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
FLAG_BRIDGES
public static final int FLAG_BRIDGES
- See Also:
- Constant Field Values
-
FLAG_MARKERS
public static final int FLAG_MARKERS
- See Also:
- Constant Field Values
-
FLAG_SERIALIZABLE
public static final int FLAG_SERIALIZABLE
- See Also:
- Constant Field Values
-
u2methodHandleIndex
public int u2methodHandleIndex
-
u2methodArgumentCount
public int u2methodArgumentCount
-
u2methodArguments
public int[] u2methodArguments
-
-
Method Detail
-
methodHandleAccept
public void methodHandleAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the method handle of the bootstrap method.
-
methodArgumentsAccept
public void methodArgumentsAccept(Clazz clazz, ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the argument constants of the bootstrap method.
-
-