Package com.yworks.yguard.obf.classfile
Class LocalVariableTypeInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.LocalVariableTypeInfo
-
public class LocalVariableTypeInfo extends java.lang.ObjectRepresentation of an Local Variable Type table entry.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalVariableTypeInfocreate(java.io.DataInput din)Create local variable type info.protected intgetNameIndex()Return name index into Constant Pool.protected intgetSignatureIndex()Return descriptor index into Constant Pool.protected voidmarkUtf8Refs(ConstantPool pool)Check for Utf8 references to constant pool and mark them.protected voidsetNameIndex(int index)Set the name index.protected voidsetSignatureIndex(int index)Set the descriptor index.voidwrite(java.io.DataOutput dout)Export the representation to a DataOutput stream.
-
-
-
Method Detail
-
create
public static LocalVariableTypeInfo create(java.io.DataInput din) throws java.io.IOException
Create local variable type info.- Parameters:
din- the din- Returns:
- the local variable type info
- Throws:
java.io.IOException- the io exception
-
getNameIndex
protected int getNameIndex()
Return name index into Constant Pool.- Returns:
- the name index
-
setNameIndex
protected void setNameIndex(int index)
Set the name index.- Parameters:
index- the index
-
getSignatureIndex
protected int getSignatureIndex()
Return descriptor index into Constant Pool.- Returns:
- the signature index
-
setSignatureIndex
protected void setSignatureIndex(int index)
Set the descriptor 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
-
-