Package com.yworks.yguard.obf.classfile
Class AnnotationInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.AnnotationInfo
-
- Direct Known Subclasses:
TypeAnnotationInfo
public class AnnotationInfo extends java.lang.ObjectThe type Annotation info.
-
-
Field Summary
Fields Modifier and Type Field Description protected intu2typeIndexThe type index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnnotationInfocreate(java.io.DataInput din)Create annotation info.ElementValuePairInfo[]getElementValuePairs()Get element value pairs element value pair info [ ].protected voidmarkUtf8RefsInInfo(ConstantPool pool)Mark utf 8 refs in info.voidwrite(java.io.DataOutput dout)Export the representation to a DataOutput stream.
-
-
-
Method Detail
-
create
public static AnnotationInfo create(java.io.DataInput din) throws java.io.IOException
Create annotation info.- Parameters:
din- the din- Returns:
- the annotation info
- Throws:
java.io.IOException- the io exception
-
getElementValuePairs
public ElementValuePairInfo[] getElementValuePairs()
Get element value pairs element value pair info [ ].- Returns:
- the element value pair info [ ]
-
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
-
-