sysModel.classFile.constantPool
Class ASCIIPoolInfo
java.lang.Object
   sysModel.classFile.constantPool.APoolInfo
sysModel.classFile.constantPool.APoolInfo
       sysModel.classFile.constantPool.AUTFPoolInfo
sysModel.classFile.constantPool.AUTFPoolInfo
           sysModel.classFile.constantPool.ASCIIPoolInfo
sysModel.classFile.constantPool.ASCIIPoolInfo
- public class ASCIIPoolInfo 
- extends AUTFPoolInfo
Represents CONSTANT_Utf8_ASCII data in the constant pool.
- Author:
- Mathias Ricken
 
 
| 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 | 
 
 
| 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 | toStringVerbose()Return a human-readable version of this constant pool object.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
ASCIIPoolInfo
public ASCIIPoolInfo(java.lang.String s,
                     ConstantPool cp)
- Constructor
 
- Parameters:
- s- data
 
ASCIIPoolInfo
public ASCIIPoolInfo(java.io.DataInputStream dis,
                     ConstantPool cp)
              throws java.io.IOException
- Constructor reading from a stream.
 
- Parameters:
- dis- input stream
- cp- constant pool
- Throws:
- java.io.IOException
 
toStringVerbose
public java.lang.String toStringVerbose()
- Return a human-readable version of this constant pool object.
 
- 
- Specified by:
- toStringVerbosein class- AUTFPoolInfo
 
- 
- Returns:
- string
 
equals
public boolean equals(java.lang.Object obj)
- Compare this object and another one.
 
- 
- Specified by:
- equalsin class- AUTFPoolInfo
 
- 
- Parameters:
- obj- other object
- Returns:
- true if the same
 
execute
public <R,D> R execute(IPoolInfoVisitor<R,D> visitor,
                       D data)
- Execute a visitor.
 
- 
- Specified by:
- executein class- APoolInfo
 
- 
- Parameters:
- visitor- visitor
- data- visitor-specific parameter
- Returns:
- visitor-specific return value