|
|||||||||
| Home >> All >> com >> techtrader >> modules >> tools >> bytecode >> [ lowlevel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.techtrader.modules.tools.bytecode.lowlevel
Class NameAndTypeEntry

java.lang.Objectcom.techtrader.modules.tools.bytecode.lowlevel.NameAndTypeEntry
- All Implemented Interfaces:
- Entry, LowLevelConstants, com.techtrader.modules.tools.bytecode.visitor.VisitAcceptor
- public class NameAndTypeEntry
- extends java.lang.Object
- implements Entry, LowLevelConstants
- extends java.lang.Object
Constant pool entry containing indexes referencing a name and a type.
| Field Summary | |
private int |
_descriptorIndex
|
private int |
_nameIndex
|
| Fields inherited from interface com.techtrader.modules.tools.bytecode.lowlevel.LowLevelConstants |
ENTRY_CLASS, ENTRY_DOUBLE, ENTRY_FIELD, ENTRY_FLOAT, ENTRY_INT, ENTRY_INTMETHOD, ENTRY_LONG, ENTRY_METHOD, ENTRY_NAME_AND_TYPE, ENTRY_PLACEHOLDER, ENTRY_STRING, ENTRY_UTF8 |
| Constructor Summary | |
NameAndTypeEntry()
|
|
| Method Summary | |
void |
acceptVisit(com.techtrader.modules.tools.bytecode.visitor.BCVisitor visit)
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 object. |
int |
getDescriptorIndex()
Get the index into the constant pool of a UTF8Entry containing the descriptor for this entity. |
java.lang.String |
getKey()
Return a suitable hash key for this entry. |
int |
getNameIndex()
Get the index into the constant pool of a UTF8Entry containing the name of this entity. |
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 |
setDescriptorIndex(int descriptorIndex)
Set the index into the constant pool of a UTF8Entry containing the descriptor for this entity. |
void |
setNameIndex(int nameIndex)
Set the index into the constant pool of a UTF8Entry containing the name of this entity. |
void |
writeData(java.io.DataOutput out)
This is called by the ClassRep after writing the entry type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_nameIndex
private int _nameIndex
_descriptorIndex
private int _descriptorIndex
| Constructor Detail |
NameAndTypeEntry
public NameAndTypeEntry()
| Method Detail |
getType
public int getType()
- Description copied from interface:
Entry - Get the constant for the type of entry represented.
getNameIndex
public int getNameIndex()
- Get the index into the constant pool of a UTF8Entry containing
the name of this entity.
setNameIndex
public void setNameIndex(int nameIndex)
- Set the index into the constant pool of a UTF8Entry containing
the name of this entity.
getDescriptorIndex
public int getDescriptorIndex()
- Get the index into the constant pool of a UTF8Entry containing
the descriptor for this entity.
setDescriptorIndex
public void setDescriptorIndex(int descriptorIndex)
- Set the index into the constant pool of a UTF8Entry containing
the descriptor for this entity.
readData
public void readData(java.io.DataInput in) throws java.io.IOException
- Description copied from interface:
Entry - This is called by the ClassRep after reading the entry type.
writeData
public void writeData(java.io.DataOutput out) throws java.io.IOException
- Description copied from interface:
Entry - This is called by the ClassRep after writing the entry type.
getKey
public java.lang.String getKey()
- Description copied from interface:
Entry - Return a suitable hash key for this entry.
acceptVisit
public void acceptVisit(com.techtrader.modules.tools.bytecode.visitor.BCVisitor visit)
- Description copied from interface:
com.techtrader.modules.tools.bytecode.visitor.VisitAcceptor - 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 object.
- Specified by:
acceptVisitin interfacecom.techtrader.modules.tools.bytecode.visitor.VisitAcceptor
|
|||||||||
| Home >> All >> com >> techtrader >> modules >> tools >> bytecode >> [ lowlevel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.techtrader.modules.tools.bytecode.lowlevel.NameAndTypeEntry