Package serp.bytecode.lowlevel
Class MethodEntry
- java.lang.Object
-
- serp.bytecode.lowlevel.Entry
-
- serp.bytecode.lowlevel.ComplexEntry
-
- serp.bytecode.lowlevel.MethodEntry
-
- All Implemented Interfaces:
VisitAcceptor
public class MethodEntry extends ComplexEntry
A reference to a class method.
-
-
Field Summary
-
Fields inherited from class serp.bytecode.lowlevel.Entry
CLASS, DOUBLE, FIELD, FLOAT, INT, INTERFACEMETHOD, INVOKEDYNAMIC, LONG, METHOD, METHODHANDLE, METHODTYPE, NAMEANDTYPE, STRING, UTF8
-
-
Constructor Summary
Constructors Constructor Description MethodEntry()
Default constructor.MethodEntry(int classIndex, int nameAndTypeIndex)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisit(BCVisitor visit)
Accept a visit from aBCVisitor
, 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
getType()
Return the type code for this entry type.-
Methods inherited from class serp.bytecode.lowlevel.ComplexEntry
getClassEntry, getClassIndex, getNameAndTypeEntry, getNameAndTypeIndex, readData, setClassIndex, setNameAndTypeIndex, writeData
-
-
-
-
Constructor Detail
-
MethodEntry
public MethodEntry()
Default constructor.
-
MethodEntry
public MethodEntry(int classIndex, int nameAndTypeIndex)
Constructor.- See Also:
ComplexEntry(int,int)
-
-
Method Detail
-
getType
public int getType()
Description copied from class:Entry
Return the type code for this entry type.
-
acceptVisit
public void acceptVisit(BCVisitor visit)
Description copied from interface:VisitAcceptor
Accept a visit from aBCVisitor
, 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.
-
-