Package org.vesalainen.bcc.annotation
Class AnnotationVal
- java.lang.Object
-
- org.vesalainen.bcc.annotation.ElementValue
-
- org.vesalainen.bcc.annotation.AnnotationVal
-
- All Implemented Interfaces:
javax.lang.model.element.AnnotationValue,Writable
public class AnnotationVal extends ElementValue
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationWrapperannotation-
Fields inherited from class org.vesalainen.bcc.annotation.ElementValue
classFile, tag
-
-
Constructor Summary
Constructors Constructor Description AnnotationVal(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)intgetLength()java.lang.ObjectgetValue()java.lang.StringtoString()voidwrite(java.io.DataOutput out)-
Methods inherited from class org.vesalainen.bcc.annotation.ElementValue
newInstance
-
-
-
-
Field Detail
-
annotation
private final AnnotationWrapper annotation
-
-
Constructor Detail
-
AnnotationVal
public AnnotationVal(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
-
getValue
public java.lang.Object getValue()
-
getLength
public int getLength()
- Specified by:
getLengthin classElementValue
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacejavax.lang.model.element.AnnotationValue- Overrides:
toStringin classjava.lang.Object
-
accept
public <R,P> R accept(javax.lang.model.element.AnnotationValueVisitor<R,P> v, P p)
-
-