@Accessors public class GeneratedClassAnnotation extends java.lang.Object implements IClassAnnotation
@Generated
annotation.Constructor and Description |
---|
GeneratedClassAnnotation() |
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 |
getComment() |
protected java.lang.String |
getGeneratorName() |
boolean |
isIncludeDate() |
void |
setComment(java.lang.String comment) |
void |
setIncludeDate(boolean includeDate) |
java.lang.String |
toString() |
public java.lang.CharSequence generate()
IClassAnnotation
generate
in interface IClassAnnotation
protected java.lang.String getGeneratorName()
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 boolean isIncludeDate()
public void setIncludeDate(boolean includeDate)
@Pure public java.lang.String getComment()
public void setComment(java.lang.String comment)