Interface IClassGenerator
- All Known Implementing Classes:
ArgsClassGenerator
public interface IClassGenerator
Base interface for class generators
-
Method Summary
-
Method Details
-
getName
String getName()Get the name of this generator for logging and auditing purposes -
generate
Generate (if possible) the specified class name. The generator should return null if it cannot generate the specified class, in order that the next generator in the chain can process the request. The first generator to return a value will halt further processing of the request.- Parameters:
name- Class name to generateclassNode- Empty ClassNode to populate- Returns:
- True if the class was generated
-