Package com.google.turbine.binder.bound
Class AnnotationMetadata
- java.lang.Object
-
- com.google.turbine.binder.bound.AnnotationMetadata
-
public class AnnotationMetadata extends java.lang.ObjectAnnotation metadata, e.g. fromTarget,Retention, andRepeatable.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableSet<TurbineElementType>DEFAULT_TARGETS
-
Constructor Summary
Constructors Constructor Description AnnotationMetadata(@Nullable java.lang.annotation.RetentionPolicy retention, @Nullable com.google.common.collect.ImmutableSet<TurbineElementType> annotationTarget, @Nullable ClassSymbol repeatable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable ClassSymbolrepeatable()The container annotation for@Repeatedannotations.java.lang.annotation.RetentionPolicyretention()The retention policy specified by the@Retentionmeta-annotation.com.google.common.collect.ImmutableSet<TurbineElementType>target()Target element types specified by the@Targetmeta-annotation.
-
-
-
Field Detail
-
DEFAULT_TARGETS
public static final com.google.common.collect.ImmutableSet<TurbineElementType> DEFAULT_TARGETS
-
-
Constructor Detail
-
AnnotationMetadata
public AnnotationMetadata(@Nullable java.lang.annotation.RetentionPolicy retention, @Nullable com.google.common.collect.ImmutableSet<TurbineElementType> annotationTarget, @Nullable ClassSymbol repeatable)
-
-
Method Detail
-
retention
public java.lang.annotation.RetentionPolicy retention()
The retention policy specified by the@Retentionmeta-annotation.
-
target
public com.google.common.collect.ImmutableSet<TurbineElementType> target()
Target element types specified by the@Targetmeta-annotation.
-
repeatable
public @Nullable ClassSymbol repeatable()
The container annotation for@Repeatedannotations.
-
-