JavaScript is disabled on your browser.
Skip navigation links
gnu.bytecode

Class AnnotationEntry.Value

  • All Implemented Interfaces:
    javax.lang.model.element.AnnotationValue
    Enclosing class:
    AnnotationEntry


    public static class AnnotationEntry.Value
    extends java.lang.Object
    implements javax.lang.model.element.AnnotationValue
    • Constructor Summary

      Constructors
      Constructor and Description
      Value (char kind, Type type, java.lang.Object value)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      <R,P> R accept (javax.lang.model.element.AnnotationValueVisitor<R,P> v, P p)
      java.lang.Object getValue ()
      Get an Object representing the annotation value.
      void print (int indentation, ClassTypeWriter out)
      java.lang.String toString ()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Value

        public Value(char kind,
         Type type,
         java.lang.Object value)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Get an Object representing the annotation value. If the kind is 'e', the value is *either* a Field or an 2-element array [ClassName, EnumName] or the actual Enum value. If kind is 'c', the value is *either* a ClassType or a String.
        Specified by:
        getValue in interface javax.lang.model.element.AnnotationValue
      • 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)
        Specified by:
        accept in interface javax.lang.model.element.AnnotationValue
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /