|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.classfile.CpInfo
proguard.classfile.StringCpInfo
Representation of a 'string' entry in the ConstantPool.
| Field Summary | |
ClassFile |
referencedClassFile
An extra field pointing to the referenced ClassFile object, if this string is being used in Class.forName() or .class constructs. |
int |
u2stringIndex
|
| Fields inherited from class proguard.classfile.CpInfo |
visitorInfo |
| Constructor Summary | |
protected |
StringCpInfo()
|
| Method Summary | |
void |
accept(ClassFile classFile,
CpInfoVisitor cpInfoVisitor)
Accepts the given visitor. |
String |
getString(ClassFile classFile)
Returns the string value. |
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 |
referencedClassAccept(ClassFileVisitor classFileVisitor)
Lets the referenced class file accept the given visitor. |
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 |
| Field Detail |
public int u2stringIndex
public ClassFile referencedClassFile
ClassFileReferenceInitializer.
References to library class files are not filled out.
| Constructor Detail |
protected StringCpInfo()
| Method Detail |
public String getString(ClassFile classFile)
public 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 CpInfopublic void referencedClassAccept(ClassFileVisitor classFileVisitor)
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||