public class MethodHandleEntry extends Entry
CLASS, DOUBLE, FIELD, FLOAT, INT, INTERFACEMETHOD, INVOKEDYNAMIC, LONG, METHOD, METHODHANDLE, METHODTYPE, NAMEANDTYPE, STRING, UTF8
Constructor and Description |
---|
MethodHandleEntry() |
MethodHandleEntry(int _reference_kind,
int _reference_index) |
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. |
Entry |
getReference()
The Entry Type depends on both the reference kind and the Class Version (CV).
|
int |
getReferenceKind() |
int |
getType()
Return the type code for this entry type.
|
void |
setReference(int referenceIndex) |
void |
setReferenceKind(int referenceKind) |
public MethodHandleEntry()
public MethodHandleEntry(int _reference_kind, int _reference_index)
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 getReferenceKind()
public void setReferenceKind(int referenceKind) throws IllegalArgumentException
IllegalArgumentException
public Entry getReference()
public void setReference(int referenceIndex)
Copyright © 2002–2019. All rights reserved.