Package com.yworks.yguard.obf.classfile
Class ElementValuePairInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.ElementValuePairInfo
-
public class ElementValuePairInfo extends java.lang.ObjectThe type Element value pair info.
-
-
Field Summary
Fields Modifier and Type Field Description protected ElementValueInfoelementValueThe Element value.protected intu2ElementNameIndexThe U 2 element name index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementValuePairInfocreate(java.io.DataInput din)Create element value pair info.ElementValueInfogetElementValue()Gets element value.intgetU2ElementNameIndex()Gets u 2 element name index.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
-
u2ElementNameIndex
protected int u2ElementNameIndex
The U 2 element name index.
-
elementValue
protected ElementValueInfo elementValue
The Element value.
-
-
Method Detail
-
create
public static ElementValuePairInfo create(java.io.DataInput din) throws java.io.IOException
Create element value pair info.- Parameters:
din- the din- Returns:
- the element value pair info
- Throws:
java.io.IOException- the io exception
-
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
-
getU2ElementNameIndex
public int getU2ElementNameIndex()
Gets u 2 element name index.- Returns:
- the u 2 element name index
-
getElementValue
public ElementValueInfo getElementValue()
Gets element value.- Returns:
- the element value
-
-