public class ClassCodeGenerator
extends io.vertx.codegen.Generator<io.vertx.codegen.Model>
| Modifier and Type | Field and Description |
|---|---|
String |
filename |
freemarker.template.Template |
template |
String |
templateFilename |
| Constructor and Description |
|---|
ClassCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
List<io.vertx.codegen.type.TypeInfo> |
abstractClasses(Collection<io.vertx.codegen.type.TypeInfo> classTypeInfos) |
Set<String> |
adjustedImports(io.vertx.codegen.type.ClassTypeInfo type,
Set<io.vertx.codegen.type.TypeInfo> importedTypes) |
List<io.vertx.codegen.type.TypeInfo> |
classes(Collection<io.vertx.codegen.type.TypeInfo> classTypeInfos) |
String |
filename(io.vertx.codegen.Model model) |
void |
load(ProcessingEnvironment processingEnv) |
String |
render(io.vertx.codegen.Model model,
int index,
int size,
Map<String,Object> session) |
public String filename
public String templateFilename
public freemarker.template.Template template
public void load(ProcessingEnvironment processingEnv)
load in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public String filename(io.vertx.codegen.Model model)
filename in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public String render(io.vertx.codegen.Model model, int index, int size, Map<String,Object> session)
render in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public Set<String> adjustedImports(io.vertx.codegen.type.ClassTypeInfo type, Set<io.vertx.codegen.type.TypeInfo> importedTypes)
public List<io.vertx.codegen.type.TypeInfo> classes(Collection<io.vertx.codegen.type.TypeInfo> classTypeInfos)
public List<io.vertx.codegen.type.TypeInfo> abstractClasses(Collection<io.vertx.codegen.type.TypeInfo> classTypeInfos)
Copyright © 2016–2018 vert.x. All rights reserved.