Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.techtrader.modules.tools.bytecode.lowlevel
Interface Entry  view Entry download Entry.java

All Superinterfaces:
com.techtrader.modules.tools.bytecode.visitor.VisitAcceptor
All Known Subinterfaces:
ConstantEntry
All Known Implementing Classes:
ClassEntry, ComplexEntry, DoubleEntry, FloatEntry, IntEntry, LongEntry, NameAndTypeEntry, PlaceHolderEntry, StringEntry, UTF8Entry

public interface Entry
extends com.techtrader.modules.tools.bytecode.visitor.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.


Method Summary
 java.lang.String getKey()
          Return a suitable hash key for this entry.
 int getType()
          Get the constant for the type of entry represented.
 void readData(java.io.DataInput in)
          This is called by the ClassRep after reading the entry type.
 void writeData(java.io.DataOutput out)
          This is called by the ClassRep after writing the entry type.
 
Methods inherited from interface com.techtrader.modules.tools.bytecode.visitor.VisitAcceptor
acceptVisit
 

Method Detail

getType

public int getType()
Get the constant for the type of entry represented.


readData

public void readData(java.io.DataInput in)
              throws java.io.IOException
This is called by the ClassRep after reading the entry type.


writeData

public void writeData(java.io.DataOutput out)
               throws java.io.IOException
This is called by the ClassRep after writing the entry type.


getKey

public java.lang.String getKey()
Return a suitable hash key for this entry.