Package serp.bytecode.lowlevel
Class FieldEntry
java.lang.Object
serp.bytecode.lowlevel.Entry
serp.bytecode.lowlevel.ComplexEntry
serp.bytecode.lowlevel.FieldEntry
- All Implemented Interfaces:
VisitAcceptor
A reference to a class field.
-
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
ConstructorsConstructorDescriptionDefault constructor.FieldEntry
(int classIndex, int nameAndTypeIndex) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
FieldEntry
public FieldEntry()Default constructor. -
FieldEntry
public FieldEntry(int classIndex, int nameAndTypeIndex) Constructor.- See Also:
-
-
Method Details
-
getType
public int getType()Description copied from class:Entry
Return the type code for this entry type. -
acceptVisit
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.
-