Class SuppressWarningsAnnotation

  • All Implemented Interfaces:
    IClassAnnotation

    public class SuppressWarningsAnnotation
    extends java.lang.Object
    implements IClassAnnotation
    A class annotation configuration for the @SuppressWarnings annotation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean appliesTo​(JavaFileAccess javaFile)
      Determine whether this annotation should be applied to the given Java file.
      boolean equals​(java.lang.Object obj)  
      java.lang.CharSequence generate()
      Convert the class annotation to a string suitable for use in Java code generation.
      TypeReference getAnnotationImport()
      Return the qualified name of the annotation interface for use in import declarations, or null if no import is required.
      java.lang.String getSuppress()  
      int hashCode()  
      void setSuppress​(java.lang.String suppress)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SuppressWarningsAnnotation

        public SuppressWarningsAnnotation()
    • Method Detail

      • generate

        public java.lang.CharSequence generate()
        Description copied from interface: IClassAnnotation
        Convert the class annotation to a string suitable for use in Java code generation.
        Specified by:
        generate in interface IClassAnnotation
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getSuppress

        public java.lang.String getSuppress()
      • setSuppress

        public void setSuppress​(java.lang.String suppress)