Class Annotations

java.lang.Object
com.ibm.wala.types.annotations.Annotations

public class Annotations extends Object
  • Field Details

    • INTERNAL

      public static final TypeName INTERNAL
    • NONNULL

      public static final TypeName NONNULL
  • Constructor Details

    • Annotations

      public Annotations()
  • Method Details

    • 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)