T
- The interface that results from compiling and merging the runtime code that is generated.public class CodeGenerator<T> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
generate() |
String |
generateAndGet() |
static <T> CodeGenerator<T> |
get(MappingSet mappingSet,
TemplateClassDefinition<T> definition,
FunctionImplementationRegistry funcRegistry) |
static <T> CodeGenerator<T> |
get(TemplateClassDefinition<T> definition,
FunctionImplementationRegistry funcRegistry) |
TemplateClassDefinition<T> |
getDefinition() |
String |
getGeneratedCode() |
String |
getMaterializedClassName() |
ClassGenerator<T> |
getRoot() |
static <T> ClassGenerator<T> |
getRoot(MappingSet mappingSet,
TemplateClassDefinition<T> definition,
FunctionImplementationRegistry funcRegistry) |
static <T> ClassGenerator<T> |
getRoot(TemplateClassDefinition<T> definition,
FunctionImplementationRegistry funcRegistry) |
int |
hashCode() |
public ClassGenerator<T> getRoot()
public void generate() throws IOException
IOException
public String generateAndGet() throws IOException
IOException
public String getGeneratedCode()
public TemplateClassDefinition<T> getDefinition()
public String getMaterializedClassName()
public static <T> CodeGenerator<T> get(TemplateClassDefinition<T> definition, FunctionImplementationRegistry funcRegistry)
public static <T> ClassGenerator<T> getRoot(TemplateClassDefinition<T> definition, FunctionImplementationRegistry funcRegistry)
public static <T> ClassGenerator<T> getRoot(MappingSet mappingSet, TemplateClassDefinition<T> definition, FunctionImplementationRegistry funcRegistry)
public static <T> CodeGenerator<T> get(MappingSet mappingSet, TemplateClassDefinition<T> definition, FunctionImplementationRegistry funcRegistry)
Copyright © 2015 The Apache Software Foundation. All rights reserved.