Package com.yworks.yguard.obf.classfile
Class InnerClassesInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.InnerClassesInfo
-
public class InnerClassesInfo extends java.lang.ObjectRepresentation of an Inner Classes table entry.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InnerClassesInfocreate(java.io.DataInput din)Create inner classes info.protected intgetInnerClassIndex()Return the inner class index.protected intgetInnerNameIndex()Return the name index.intgetModifiers()Get modifiers int.protected voidmarkUtf8Refs(ConstantPool pool)Check for Utf8 references to constant pool and mark them.protected voidsetInnerNameIndex(int index)Set the name index.voidwrite(java.io.DataOutput dout)Export the representation to a DataOutput stream.
-
-
-
Method Detail
-
create
public static InnerClassesInfo create(java.io.DataInput din) throws java.io.IOException
Create inner classes info.- Parameters:
din- the din- Returns:
- the inner classes info
- Throws:
java.io.IOException- the io exception
-
getModifiers
public int getModifiers()
Get modifiers int.- Returns:
- the int
-
getInnerClassIndex
protected int getInnerClassIndex()
Return the inner class index.- Returns:
- the inner class index
-
getInnerNameIndex
protected int getInnerNameIndex()
Return the name index.- Returns:
- the inner name index
-
setInnerNameIndex
protected void setInnerNameIndex(int index)
Set the name index.- Parameters:
index- the index
-
markUtf8Refs
protected void markUtf8Refs(ConstantPool pool)
Check for Utf8 references to constant pool and mark them.- Parameters:
pool- the pool
-
write
public void write(java.io.DataOutput dout) throws java.io.IOExceptionExport the representation to a DataOutput stream.- Parameters:
dout- the dout- Throws:
java.io.IOException- the io exception
-
-