public class JsonSchemaTypeGenerator extends AbstractTypeGenerator<com.sun.codemodel.JCodeModel> implements CodeModelTypeGenerator
| Constructor and Description |
|---|
JsonSchemaTypeGenerator(CurrentBuild build,
String pack,
GType type,
com.squareup.javapoet.ClassName name,
String schema) |
| Modifier and Type | Method and Description |
|---|---|
com.squareup.javapoet.TypeName |
getGeneratedJavaType() |
GType |
getType() |
void |
output(CodeContainer<com.sun.codemodel.JCodeModel> container,
BuildPhase buildPhase) |
outputpublic JsonSchemaTypeGenerator(CurrentBuild build, String pack, GType type, com.squareup.javapoet.ClassName name, String schema)
public void output(CodeContainer<com.sun.codemodel.JCodeModel> container, BuildPhase buildPhase) throws IOException
output in interface TypeGenerator<com.sun.codemodel.JCodeModel>IOExceptionpublic GType getType()
public com.squareup.javapoet.TypeName getGeneratedJavaType()
getGeneratedJavaType in interface TypeGenerator<com.sun.codemodel.JCodeModel>Copyright © 2019 Mulesoft. All rights reserved.