com.techtrader.modules.tools.bytecode.lowlevel
Interface Entry
- All Known Subinterfaces:
- ConstantEntry
- All Known Implementing Classes:
- ClassEntry, ComplexEntry, NameAndTypeEntry, PlaceHolderEntry, UTF8Entry
- public interface Entry
- extends VisitAcceptor
Base interface for all constant pool entries. Every Entry has a one-byte
code representing the type of Entry, where each entry type may contain
different information.
- Author:
- Abe White
Method Summary |
String |
getKey()
Return a suitable hash key for this entry. |
int |
getType()
Get the constant for the type of entry represented. |
void |
readData(DataInput in)
This is called by the ClassRep after reading the entry type. |
void |
writeData(DataOutput out)
This is called by the ClassRep after writing the entry type. |
getType
public int getType()
- Get the constant for the type of entry represented.
readData
public void readData(DataInput in)
throws IOException
- This is called by the ClassRep after reading the entry type.
writeData
public void writeData(DataOutput out)
throws IOException
- This is called by the ClassRep after writing the entry type.
getKey
public String getKey()
- Return a suitable hash key for this entry.