public class InvokeDynamicEntry extends Entry
CLASS, DOUBLE, FIELD, FLOAT, INT, INTERFACEMETHOD, INVOKEDYNAMIC, LONG, METHOD, METHODHANDLE, METHODTYPE, NAMEANDTYPE, STRING, UTF8
Constructor and Description |
---|
InvokeDynamicEntry() |
InvokeDynamicEntry(int bootstrap_method_attr_index,
int nameAndTypeIndex) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(BCVisitor visitor)
Accept a visit from a
BCVisitor , calling the appropriate methods
to notify the visitor that it has entered this entity, and
to provide it with the proper callbacks for each sub-entity owned
by this one. |
int |
getBootstrapMethodAttrIndex() |
NameAndTypeEntry |
getNameAndTypeEntry()
Return the referenced
NameAndTypeEntry . |
int |
getNameAndTypeIndex()
Return the constant pool index of the
NameAndTypeEntry
describing this entity. |
int |
getType()
Return the type code for this entry type.
|
public InvokeDynamicEntry()
public InvokeDynamicEntry(int bootstrap_method_attr_index, int nameAndTypeIndex)
public void acceptVisit(BCVisitor visitor)
VisitAcceptor
BCVisitor
, calling the appropriate methods
to notify the visitor that it has entered this entity, and
to provide it with the proper callbacks for each sub-entity owned
by this one.public int getType()
Entry
public int getBootstrapMethodAttrIndex()
public int getNameAndTypeIndex()
NameAndTypeEntry
describing this entity.public NameAndTypeEntry getNameAndTypeEntry()
NameAndTypeEntry
. This method can only
be run for entries that have been added to a constant pool.Copyright © 2002–2019. All rights reserved.