public class InvokeDynamicInsnNode extends AbstractInsnNode
Modifier and Type | Field and Description |
---|---|
org.objectweb.asm.Handle |
bsm
The bootstrap method.
|
java.lang.Object[] |
bsmArgs
The bootstrap method constant arguments.
|
java.lang.String |
desc
The method's descriptor (see
Type ). |
java.lang.String |
name
The method's name.
|
FIELD_INSN, FRAME, IINC_INSN, INSN, INT_INSN, invisibleTypeAnnotations, INVOKE_DYNAMIC_INSN, JUMP_INSN, LABEL, LDC_INSN, LINE, LOOKUPSWITCH_INSN, METHOD_INSN, MULTIANEWARRAY_INSN, opcode, TABLESWITCH_INSN, TYPE_INSN, VAR_INSN, visibleTypeAnnotations
Constructor and Description |
---|
InvokeDynamicInsnNode(java.lang.String name,
java.lang.String descriptor,
org.objectweb.asm.Handle bootstrapMethodHandle,
java.lang.Object... bootstrapMethodArguments)
Constructs a new
InvokeDynamicInsnNode . |
Modifier and Type | Method and Description |
---|---|
void |
accept(org.objectweb.asm.MethodVisitor methodVisitor)
Makes the given method visitor visit this instruction.
|
AbstractInsnNode |
clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
Returns a copy of this instruction.
|
int |
getType()
Returns the type of this instruction.
|
acceptAnnotations, cloneAnnotations, getNext, getOpcode, getPrevious
public java.lang.String name
public java.lang.String desc
Type
).public org.objectweb.asm.Handle bsm
public java.lang.Object[] bsmArgs
public InvokeDynamicInsnNode(java.lang.String name, java.lang.String descriptor, org.objectweb.asm.Handle bootstrapMethodHandle, java.lang.Object... bootstrapMethodArguments)
InvokeDynamicInsnNode
.name
- the method's name.descriptor
- the method's descriptor (see Type
).bootstrapMethodHandle
- the bootstrap method.bootstrapMethodArguments
- the bootstrap method constant arguments. Each argument must be
an Integer
, Float
, Long
, Double
, String
, Type
or Handle
value. This method is allowed to modify the
content of the array so a caller should expect that this array may change.public int getType()
AbstractInsnNode
getType
in class AbstractInsnNode
public void accept(org.objectweb.asm.MethodVisitor methodVisitor)
AbstractInsnNode
accept
in class AbstractInsnNode
methodVisitor
- a method visitor.public AbstractInsnNode clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
clone
in class AbstractInsnNode
clonedLabels
- a map from LabelNodes to cloned LabelNodes.InsnList
.