public interface IClassAnnotation
XtextGenerator
workflow component in order
to configure specific Java annotations to be added to each generated class.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.CharSequence generate()
boolean appliesTo(JavaFileAccess javaFile)
TypeReference getAnnotationImport()
null
if no import is required.