|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sysModel.classFile.constantPool.APoolInfo sysModel.classFile.constantPool.AClassNameTypePoolInfo sysModel.classFile.constantPool.MethodPoolInfo
public class MethodPoolInfo
Represents a method in the constant pool.
Field Summary |
---|
Fields inherited from class sysModel.classFile.constantPool.AClassNameTypePoolInfo |
---|
_classInfo, _classInfoIndex, _nameAndType, _nameAndTypeIndex |
Fields inherited from class sysModel.classFile.constantPool.APoolInfo |
---|
_constantPool, _type, CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8_ASCII, CONSTANT_Utf8_Unicode |
Constructor Summary | |
---|---|
MethodPoolInfo(ClassPoolInfo clas,
NameAndTypePoolInfo nameAndType,
ConstantPool cp)
Constructor |
|
MethodPoolInfo(java.io.DataInputStream dis,
ConstantPool cp)
Constructor reading from a stream. |
Method Summary | ||
---|---|---|
boolean |
equals(java.lang.Object obj)
Compare this object and another one. |
|
|
execute(IPoolInfoVisitor<R,D> visitor,
D data)
Execute a visitor. |
|
java.lang.String |
toString()
Return a human-readable version of this constant pool object. |
|
java.lang.String |
toStringVerbose()
Return a human-readable version of this constant pool object. |
Methods inherited from class sysModel.classFile.constantPool.AClassNameTypePoolInfo |
---|
getClassInfo, getNameAndType, hashCode, reindex, resolve, setClassInfo, setNameAndType, write |
Methods inherited from class sysModel.classFile.constantPool.APoolInfo |
---|
inPool, read |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodPoolInfo(ClassPoolInfo clas, NameAndTypePoolInfo nameAndType, ConstantPool cp)
clas
- class informationnameAndType
- NameAndType informationpublic MethodPoolInfo(java.io.DataInputStream dis, ConstantPool cp) throws java.io.IOException
dis
- input streamcp
- constant pool
java.io.IOException
Method Detail |
---|
public java.lang.String toString()
toString
in class AClassNameTypePoolInfo
public java.lang.String toStringVerbose()
toStringVerbose
in class AClassNameTypePoolInfo
public boolean equals(java.lang.Object obj)
equals
in class APoolInfo
obj
- other object
public <R,D> R execute(IPoolInfoVisitor<R,D> visitor, D data)
execute
in class APoolInfo
visitor
- visitordata
- visitor-specific parameter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |