Class IntAnnotationValue
- java.lang.Object
-
- org.jboss.classfilewriter.annotations.AnnotationValue
-
- org.jboss.classfilewriter.annotations.IntAnnotationValue
-
- All Implemented Interfaces:
WritableEntry
public class IntAnnotationValue extends AnnotationValue
An int annotation value
-
-
Field Summary
Fields Modifier and Type Field Description private int
value
private int
valueIndex
-
Constructor Summary
Constructors Constructor Description IntAnnotationValue(ConstPool constPool, java.lang.String name, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getTag()
int
getValue()
void
writeData(ByteArrayDataOutputStream stream)
-
Methods inherited from class org.jboss.classfilewriter.annotations.AnnotationValue
getName, write
-
-
-
-
Constructor Detail
-
IntAnnotationValue
public IntAnnotationValue(ConstPool constPool, java.lang.String name, int value)
-
-
Method Detail
-
getTag
public char getTag()
- Specified by:
getTag
in classAnnotationValue
-
writeData
public void writeData(ByteArrayDataOutputStream stream) throws java.io.IOException
- Specified by:
writeData
in classAnnotationValue
- Throws:
java.io.IOException
-
getValue
public int getValue()
-
-