Package org.vesalainen.bcc.annotation
Class EnumConstValue
- java.lang.Object
-
- org.vesalainen.bcc.annotation.ElementValue
-
- org.vesalainen.bcc.annotation.EnumConstValue
-
- All Implemented Interfaces:
javax.lang.model.element.AnnotationValue,Writable
public class EnumConstValue extends ElementValue
-
-
Field Summary
Fields Modifier and Type Field Description private intconstNameIndexprivate inttypeNameIndex-
Fields inherited from class org.vesalainen.bcc.annotation.ElementValue
classFile, tag
-
-
Constructor Summary
Constructors Constructor Description EnumConstValue(ClassFile classFile, int tag, java.io.DataInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(javax.lang.model.element.AnnotationValueVisitor<R,P> v, P p)java.lang.StringgetDescriptor()intgetLength()java.lang.StringgetName()java.lang.ObjectgetValue()java.lang.StringtoString()voidwrite(java.io.DataOutput out)-
Methods inherited from class org.vesalainen.bcc.annotation.ElementValue
newInstance
-
-
-
-
Constructor Detail
-
EnumConstValue
public EnumConstValue(ClassFile classFile, int tag, java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
write
public void write(java.io.DataOutput out) throws java.io.IOException- Throws:
java.io.IOException
-
getLength
public int getLength()
- Specified by:
getLengthin classElementValue
-
getDescriptor
public java.lang.String getDescriptor()
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacejavax.lang.model.element.AnnotationValue- Overrides:
toStringin classjava.lang.Object
-
getValue
public java.lang.Object getValue()
-
accept
public <R,P> R accept(javax.lang.model.element.AnnotationValueVisitor<R,P> v, P p)
-
-