|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Generator
The Generator interface will be implemented by APT data types that result in the generation of new source or text artifacts. for template usage on class-type objects
This is done with an abstract class (instead of an interface) so derived abstract classes can be subclassed from it w/out requiring all of the methods to be declared there.
Method Summary | |
---|---|
List<GeneratorOutput> |
getCheckOutput(Filer filer)
Returns the list of generated files derived from this Generator during the check phase of annotation processing. |
String[] |
getGeneratedTypes()
Returns the list of fully qualified class names for types that are derived from this Generator |
List<GeneratorOutput> |
getGenerateOutput(Filer filer)
Returns the list of generated files derived from this Generator during the generate phase of annotation processing. |
Method Detail |
---|
String[] getGeneratedTypes()
List<GeneratorOutput> getCheckOutput(Filer filer) throws IOException
IOException
List<GeneratorOutput> getGenerateOutput(Filer filer) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |