Class Annotations


  • public class Annotations
    extends Object
    • Field Detail

      • INTERNAL

        public static final TypeName INTERNAL
      • NONNULL

        public static final TypeName NONNULL
    • Constructor Detail

      • Annotations

        public Annotations()
    • Method Detail

      • hasAnnotation

        public static boolean hasAnnotation​(IMethod m,
                                            TypeName type)
        Does a particular method have a particular annotation?
      • hasAnnotation

        public static boolean hasAnnotation​(IClass c,
                                            TypeName type)
        Does a particular class have a particular annotation?
      • hasAnnotation

        public static boolean hasAnnotation​(IField field,
                                            TypeName type)