|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.classfile.CpInfo
proguard.classfile.RefCpInfo
Representation of a 'ref'-type entry in the ConstantPool.
| Field Summary | |
ClassFile |
referencedClassFile
An extra field pointing to the referenced ClassFile object. |
MemberInfo |
referencedMemberInfo
An extra field optionally pointing to the referenced MemberInfo object. |
int |
u2classIndex
|
int |
u2nameAndTypeIndex
|
| Fields inherited from class proguard.classfile.CpInfo |
visitorInfo |
| Constructor Summary | |
protected |
RefCpInfo()
|
| Method Summary | |
int |
getClassIndex()
Returns the class index. |
String |
getClassName(ClassFile classFile)
Returns the class name. |
String |
getName(ClassFile classFile)
Returns the method/field name. |
int |
getNameAndTypeIndex()
Returns the name-and-type index. |
String |
getType(ClassFile classFile)
Returns the 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. |
void |
referencedMemberInfoAccept(MemberInfoVisitor memberInfoVisitor)
Lets the referenced class member accept the given visitor. |
void |
setNameAndTypeIndex(int index)
Sets the name-and-type index. |
protected void |
writeInfo(DataOutput dout)
Writes the 'info' data following the u1tag byte. |
| Methods inherited from class proguard.classfile.CpInfo |
accept, create, createOrShare, getTag, 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 u2classIndex
public int u2nameAndTypeIndex
public ClassFile referencedClassFile
ClassFileReferenceInitializer.
public MemberInfo referencedMemberInfo
ClassFileReferenceInitializer.
| Constructor Detail |
protected RefCpInfo()
| Method Detail |
public int getClassIndex()
public int getNameAndTypeIndex()
public void setNameAndTypeIndex(int index)
public String getClassName(ClassFile classFile)
public String getName(ClassFile classFile)
public String getType(ClassFile classFile)
protected void readInfo(DataInput din)
throws IOException
CpInfo
readInfo in class CpInfoIOException
protected void writeInfo(DataOutput dout)
throws IOException
CpInfo
writeInfo in class CpInfoIOExceptionpublic void referencedClassAccept(ClassFileVisitor classFileVisitor)
public void referencedMemberInfoAccept(MemberInfoVisitor memberInfoVisitor)
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||