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, setNameAndTypeIndex
clone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparator
public ConstantDynamic(ConstantDynamic c)
public ConstantDynamic(int bootstrap_method_attr_index, int name_and_type_index)
public void accept(Visitor v)
public int getBootstrapMethodAttrIndex()
public String toString()
toString
in class ConstantCP
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.