public class InvokeDynamicInsnNode extends AbstractInsnNode
| Modifier and Type | Field | Description |
|---|---|---|
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 | Description |
|---|---|
InvokeDynamicInsnNode(java.lang.String name,
java.lang.String descriptor,
Handle bootstrapMethodHandle,
java.lang.Object... bootstrapMethodArguments) |
Constructs a new
InvokeDynamicInsnNode. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(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, getPreviouspublic java.lang.String name
public java.lang.String desc
Type).public Handle bsm
public java.lang.Object[] bsmArgs
public InvokeDynamicInsnNode(java.lang.String name,
java.lang.String descriptor,
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()
AbstractInsnNodegetType in class AbstractInsnNodepublic void accept(MethodVisitor methodVisitor)
AbstractInsnNodeaccept in class AbstractInsnNodemethodVisitor - a method visitor.public AbstractInsnNode clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNodeclone in class AbstractInsnNodeclonedLabels - a map from LabelNodes to cloned LabelNodes.InsnList.