Package com.yworks.yguard.obf.classfile
Class ElementValueInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.ElementValueInfo
-
public class ElementValueInfo extends java.lang.ObjectThe type Element value info.
-
-
Field Summary
Fields Modifier and Type Field Description protected ElementValueInfo[]arrayValuesThe Array values.protected AnnotationInfonestedAnnotationThe Nested annotation.protected intu1TagThe U 1 tag.protected intu2constNameIndexThe U 2 const name index.protected intu2cpIndexThe U 2 cp index.protected intu2typeNameIndexThe U 2 type name index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementValueInfocreate(java.io.DataInput din)Create element value info.booleangetBoolValue(ConstantPool cp)Get bool value boolean.protected voidmarkUtf8RefsInInfo(ConstantPool pool)Mark utf 8 refs in info.protected voidread(java.io.DataInput din)Read.voidwrite(java.io.DataOutput dout)Export the representation to a DataOutput stream.
-
-
-
Field Detail
-
u1Tag
protected int u1Tag
The U 1 tag.
-
u2cpIndex
protected int u2cpIndex
The U 2 cp index.
-
u2typeNameIndex
protected int u2typeNameIndex
The U 2 type name index.
-
u2constNameIndex
protected int u2constNameIndex
The U 2 const name index.
-
nestedAnnotation
protected AnnotationInfo nestedAnnotation
The Nested annotation.
-
arrayValues
protected ElementValueInfo[] arrayValues
The Array values.
-
-
Method Detail
-
create
public static ElementValueInfo create(java.io.DataInput din) throws java.io.IOException
Create element value info.- Parameters:
din- the din- Returns:
- the element value info
- Throws:
java.io.IOException- the io exception
-
getBoolValue
public boolean getBoolValue(ConstantPool cp)
Get bool value boolean.- Parameters:
cp- the cp- Returns:
- the boolean
-
read
protected void read(java.io.DataInput din) throws java.io.IOExceptionRead.- Parameters:
din- the din- Throws:
java.io.IOException- the io exception
-
markUtf8RefsInInfo
protected void markUtf8RefsInInfo(ConstantPool pool)
Mark utf 8 refs in info.- 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
-
-