Class Annotations


  • final class Annotations
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Annotations()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static boolean annotationMatchesTarget​(javax.lang.model.element.Element annotationElement, java.lang.annotation.ElementType elementType)  
      private static boolean annotationTypeMatches​(javax.lang.model.element.Element element, javax.lang.model.element.TypeElement annotationElement, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.util.Set<java.lang.String> seenAnnotations, java.util.List<java.lang.CharSequence> lines, com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver, java.lang.annotation.ElementType elementType, NullabilityAnnotationInfo nullability)  
      (package private) static java.util.List<java.lang.CharSequence> getAnnotationLines​(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver, NullabilityAnnotationInfo nullability)  
      (package private) static java.util.List<java.lang.CharSequence> getAnnotationLines​(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver, NullabilityAnnotationInfo nullability)  
      (package private) static boolean hasJacksonPackagePrefix​(java.lang.String qualifiedName)  
      • Methods inherited from class java.lang.Object

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

      • Annotations

        private Annotations()
    • Method Detail

      • getAnnotationLines

        static java.util.List<java.lang.CharSequence> getAnnotationLines​(javax.lang.model.element.Element element,
                                                                         java.util.Set<java.lang.String> includeAnnotations,
                                                                         boolean includeJacksonAnnotations,
                                                                         java.lang.annotation.ElementType elementType,
                                                                         com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver,
                                                                         @Nullable
                                                                         NullabilityAnnotationInfo nullability)
      • getAnnotationLines

        static java.util.List<java.lang.CharSequence> getAnnotationLines​(javax.lang.model.element.Element element,
                                                                         java.util.Set<java.lang.String> includeAnnotations,
                                                                         boolean includeAllAnnotations,
                                                                         boolean includeJacksonAnnotations,
                                                                         java.lang.annotation.ElementType elementType,
                                                                         com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver,
                                                                         @Nullable
                                                                         NullabilityAnnotationInfo nullability)
      • annotationTypeMatches

        private static boolean annotationTypeMatches​(javax.lang.model.element.Element element,
                                                     javax.lang.model.element.TypeElement annotationElement,
                                                     java.util.Set<java.lang.String> includeAnnotations,
                                                     boolean includeAllAnnotations,
                                                     boolean includeJacksonAnnotations,
                                                     java.util.Set<java.lang.String> seenAnnotations,
                                                     java.util.List<java.lang.CharSequence> lines,
                                                     com.google.common.base.Function<java.lang.String,​java.lang.String> importsResolver,
                                                     java.lang.annotation.ElementType elementType,
                                                     @Nullable
                                                     NullabilityAnnotationInfo nullability)
      • annotationMatchesTarget

        static boolean annotationMatchesTarget​(javax.lang.model.element.Element annotationElement,
                                               java.lang.annotation.ElementType elementType)
      • hasJacksonPackagePrefix

        static boolean hasJacksonPackagePrefix​(java.lang.String qualifiedName)