public class GeneratorUtil extends Object
Constructor and Description |
---|
GeneratorUtil(TypeOracle typeOracle,
Logger logger,
GeneratorContext generatorContext) |
Modifier and Type | Method and Description |
---|---|
void |
closeDefinition(PrintWriter printWriter) |
ConfigurationProperty |
findConfigurationProperty(String prop) |
JClassType |
getType(String typeName) |
PrintWriter |
tryCreatePrintWriter(String packageName,
String className) |
@Inject public GeneratorUtil(TypeOracle typeOracle, Logger logger, GeneratorContext generatorContext)
public JClassType getType(String typeName) throws UnableToCompleteException
UnableToCompleteException
public void closeDefinition(PrintWriter printWriter)
public PrintWriter tryCreatePrintWriter(String packageName, String className) throws UnableToCompleteException
UnableToCompleteException
public ConfigurationProperty findConfigurationProperty(String prop) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2010-2014 ArcBees. All Rights Reserved.