public final class ConstantInvokeDynamic extends ConstantCP
Constant
and represents a reference to a invoke dynamic.Constant
,
The
CONSTANT_InvokeDynamic_info Structure in The Java Virtual Machine Specificationclass_index, name_and_type_index
Constructor and Description |
---|
ConstantInvokeDynamic(ConstantInvokeDynamic c)
Initialize from another object.
|
ConstantInvokeDynamic(int bootstrapMethodAttrIndex,
int nameAndTypeIndex) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
int |
getBootstrapMethodAttrIndex() |
String |
toString() |
dump, getClass, getClassIndex, getNameAndTypeIndex, setClassIndex, setNameAndTypeIndex
clone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparator
public ConstantInvokeDynamic(ConstantInvokeDynamic c)
c
- Source to copy.public ConstantInvokeDynamic(int bootstrapMethodAttrIndex, int nameAndTypeIndex)
public void accept(Visitor v)
public int getBootstrapMethodAttrIndex()
public String toString()
toString
in class ConstantCP
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.