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 bootstrap_method_attr_index,
int name_and_type_index) |
| 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 bootstrap_method_attr_index,
int name_and_type_index)
public void accept(Visitor v)
public final int getBootstrapMethodAttrIndex()
public final String toString()
toString in class ConstantCPCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.