Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
abstract public class: Attribute [javadoc | source]
java.lang.Object
   com.sun.tools.javac.code.Attribute

All Implemented Interfaces:
    AnnotationValue

Direct Known Subclasses:
    Error, Class, Compound, Constant, ArrayAttributeProxy, Enum, EnumAttributeProxy, Array, CompoundAnnotationProxy

An annotation value.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Nested Class Summary:
public static class  Attribute.Constant  The value for an annotation element of primitive type or String. 
public static class  Attribute.Class  The value for an annotation element of type java.lang.Class, represented as a ClassSymbol. 
public static class  Attribute.Compound  A compound annotation element value, the type of which is an attribute interface. 
public static class  Attribute.Array  The value for an annotation element of an array type. 
public static class  Attribute.Enum  The value for an annotation element of an enum type. 
public static class  Attribute.Error   
public static interface  Attribute.Visitor  A visitor type for dynamic dispatch on the kind of attribute value. 
public static enum class  Attribute.RetentionPolicy  A mirror of java.lang.annotation.RetentionPolicy. 
Field Summary
public  Type type    The type of the annotation element. 
Constructor:
 public Attribute(Type type) 
Method from com.sun.tools.javac.code.Attribute Summary:
accept,   accept,   getValue
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Attribute Detail:
 abstract public  void accept(Visitor v)
 public R accept(AnnotationValueVisitor<R, P> v,
    P p) 
 public Object getValue()