Class AnnotationMetadata


  • public class AnnotationMetadata
    extends java.lang.Object
    Annotation metadata, e.g. from Target, Retention, and Repeatable.
    • 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 ClassSymbol repeatable()
      The container annotation for @Repeated annotations.
      java.lang.annotation.RetentionPolicy retention()
      The retention policy specified by the @Retention meta-annotation.
      com.google.common.collect.ImmutableSet<TurbineElementType> target()
      Target element types specified by the @Target meta-annotation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 @Retention meta-annotation.
      • target

        public com.google.common.collect.ImmutableSet<TurbineElementType> target()
        Target element types specified by the @Target meta-annotation.
      • repeatable

        public @Nullable ClassSymbol repeatable()
        The container annotation for @Repeated annotations.