@Accessors public class SuppressWarningsAnnotation extends java.lang.Object implements IClassAnnotation
@SuppressWarnings
annotation.Constructor and Description |
---|
SuppressWarningsAnnotation() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(JavaFileAccess javaFile)
Determine whether this annotation should be applied to the given Java file.
|
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() |
void |
setSuppress(java.lang.String suppress) |
java.lang.String |
toString() |
public java.lang.CharSequence generate()
IClassAnnotation
generate
in interface IClassAnnotation
public boolean appliesTo(JavaFileAccess javaFile)
IClassAnnotation
appliesTo
in interface IClassAnnotation
public TypeReference getAnnotationImport()
IClassAnnotation
null
if no import is required.getAnnotationImport
in interface IClassAnnotation
public java.lang.String toString()
toString
in class java.lang.Object
@Pure public java.lang.String getSuppress()
public void setSuppress(java.lang.String suppress)