Class ConstValueIndex

  • All Implemented Interfaces:
    javax.lang.model.element.AnnotationValue, Writable

    public class ConstValueIndex
    extends ElementValue
    • Field Detail

      • constValueIndex

        private final int constValueIndex
    • Constructor Detail

      • ConstValueIndex

        public ConstValueIndex​(ClassFile classFile,
                               int tag,
                               java.io.DataInput in)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getType

        public java.lang.Class<?> getType()
      • getValue

        public java.lang.Object getValue()
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface javax.lang.model.element.AnnotationValue
        Overrides:
        toString in class java.lang.Object
      • accept

        public <R,​P> R accept​(javax.lang.model.element.AnnotationValueVisitor<R,​P> v,
                                    P p)