APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.tools.javac.code

public abstract Class Attribute

extends Object
implements AnnotationValue
Class Inheritance
All Implemented Interfaces
javax.lang.model.element.AnnotationValue
Known Direct Subclasses
com.sun.tools.javac.code.Attribute.Constant, com.sun.tools.javac.code.Attribute.Class, com.sun.tools.javac.code.Attribute.Compound, com.sun.tools.javac.code.Attribute.Array, com.sun.tools.javac.code.Attribute.Enum, com.sun.tools.javac.code.Attribute.Error, com.sun.tools.javac.jvm.ClassReader.EnumAttributeProxy, com.sun.tools.javac.jvm.ClassReader.ClassAttributeProxy, com.sun.tools.javac.jvm.ClassReader.ArrayAttributeProxy, com.sun.tools.javac.jvm.ClassReader.CompoundAnnotationProxy
Imports
java.util.LinkedHashMap, .Map, javax.lang.model.element.AnnotationMirror, .AnnotationValue, .AnnotationValueVisitor, javax.lang.model.type.DeclaredType, com.sun.tools.javac.code.Symbol.*, com.sun.tools.javac.util.*, .DefinedBy.Api

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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
Attribute.Array

The value for an annotation element of an array type.

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.Constant

The value for an annotation element of primitive type or String.

public static class
Attribute.Enum

The value for an annotation element of an enum type.

public static class
public static enum
Attribute.RetentionPolicy

A mirror of java.lang.annotation.RetentionPolicy.

public static class
public static class
public static interface
Attribute.Visitor

A visitor type for dynamic dispatch on the kind of attribute value.

Field Summary

Modifier and TypeField and Description
public Type
type

The type of the annotation element.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
public <R, P> R
accept(AnnotationValueVisitor<R, P> v, P p)

Implements javax.lang.model.element.AnnotationValue.accept.

Applies a visitor to this value.

public TypeAnnotationPosition
public Object
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait