|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.classfile.CpInfo
proguard.classfile.Utf8CpInfo
Representation of a 'UTF-8' entry in the ConstantPool.
| Field Summary |
| Fields inherited from class proguard.classfile.CpInfo |
visitorInfo |
| Constructor Summary | |
protected |
Utf8CpInfo()
|
|
Utf8CpInfo(String utf8string)
Constructor used when appending fresh UTF-8 entries to the constant pool. |
| Method Summary | |
void |
accept(ClassFile classFile,
CpInfoVisitor cpInfoVisitor)
Accepts the given visitor. |
String |
getString()
Returns UTF-8 data as a String. |
int |
getTag()
Returns the class pool info tag that specifies the entry type. |
protected void |
readInfo(DataInput din)
Reads the 'info' data following the u1tag byte. |
void |
setString(String utf8String)
Sets UTF-8 data as String. |
protected void |
writeInfo(DataOutput dout)
Writes the 'info' data following the u1tag byte. |
| Methods inherited from class proguard.classfile.CpInfo |
create, createOrShare, getVisitorInfo, setVisitorInfo, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Utf8CpInfo()
public Utf8CpInfo(String utf8string)
| Method Detail |
public String getString()
public void setString(String utf8String)
throws Exception
Exceptionpublic int getTag()
CpInfo
getTag in class CpInfo
protected void readInfo(DataInput din)
throws IOException
CpInfo
readInfo in class CpInfoIOException
protected void writeInfo(DataOutput dout)
throws IOException
CpInfo
writeInfo in class CpInfoIOException
public void accept(ClassFile classFile,
CpInfoVisitor cpInfoVisitor)
CpInfo
accept in class CpInfo
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||