public final class ConstantDynamic extends ConstantCP
Constant and represents a reference to a dynamically computed
constant.Constant,
Change request for JEP
309class_index, name_and_type_index| Constructor and Description |
|---|
ConstantDynamic(ConstantDynamic c)
Initialize from another object.
|
ConstantDynamic(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, setNameAndTypeIndexclone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparatorpublic ConstantDynamic(ConstantDynamic c)
public ConstantDynamic(int bootstrapMethodAttrIndex, int nameAndTypeIndex)
public void accept(Visitor v)
public int getBootstrapMethodAttrIndex()
public String toString()
toString in class ConstantCPCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.