public class GeneratedClassAnnotation extends java.lang.Object implements IClassAnnotation
@Generated
annotation.Constructor and Description |
---|
GeneratedClassAnnotation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotationImport()
Return the qualified name of the annotation interface for use in import declarations,
or
null if no import is required. |
protected java.lang.String |
getGeneratorName() |
void |
setComment(java.lang.String comment)
An arbitrary comment to include in the
@Generated annotation. |
void |
setIncludeDate(boolean includeDate)
Whether the current time should be included in the
@Generated annotation. |
java.lang.String |
toString()
Convert the class annotation to a string suitable for use in Java code generation.
|
public java.lang.String toString()
IClassAnnotation
toString
in interface IClassAnnotation
toString
in class java.lang.Object
protected java.lang.String getGeneratorName()
public java.lang.String getAnnotationImport()
IClassAnnotation
null
if no import is required.getAnnotationImport
in interface IClassAnnotation
public void setIncludeDate(boolean includeDate)
@Generated
annotation.public void setComment(java.lang.String comment)
@Generated
annotation. Characters that
are not valid for Java strings are escaped, e.g. " becomes \".