| Constructor and Description |
|---|
ModelBuilder() |
ModelBuilder(JavaClassContext context,
DocletTagFactory docletTagFactory,
java.util.Map allPackages) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation) |
void |
addField(FieldDef def) |
void |
addImport(java.lang.String importName) |
void |
addJavaDoc(java.lang.String text) |
void |
addJavaDocTag(TagDef tagDef) |
void |
addMethod(MethodDef def) |
void |
addPackage(PackageDef packageDef) |
void |
addParameter(FieldDef fieldDef) |
void |
beginClass(ClassDef def) |
void |
beginMethod() |
Type |
createType(java.lang.String typeName,
int dimensions) |
Type |
createType(TypeDef typeDef) |
Type |
createType(TypeDef typeDef,
int dimensions)
this one is specific for those cases where dimensions can be part of both the type and identifier
i.e.
|
TypeVariable |
createTypeVariable(java.lang.String name,
java.util.List typeParams) |
TypeVariable |
createTypeVariable(TypeVariableDef typeVariableDef) |
void |
endClass() |
void |
endMethod(MethodDef def) |
JavaSource |
getSource() |
public ModelBuilder()
public ModelBuilder(JavaClassContext context, DocletTagFactory docletTagFactory, java.util.Map allPackages)
public void addPackage(PackageDef packageDef)
addPackage in interface Builderpublic void addImport(java.lang.String importName)
public void addJavaDoc(java.lang.String text)
addJavaDoc in interface Builderpublic void addJavaDocTag(TagDef tagDef)
addJavaDocTag in interface Builderpublic void beginClass(ClassDef def)
beginClass in interface Builderpublic Type createType(java.lang.String typeName, int dimensions)
createType in interface Builderpublic Type createType(TypeDef typeDef)
createType in interface Builderpublic Type createType(TypeDef typeDef, int dimensions)
typeDef - dimensions - public void addMethod(MethodDef def)
public void beginMethod()
beginMethod in interface Builderpublic TypeVariable createTypeVariable(TypeVariableDef typeVariableDef)
public TypeVariable createTypeVariable(java.lang.String name, java.util.List typeParams)
public void addParameter(FieldDef fieldDef)
addParameter in interface Builderpublic void addAnnotation(Annotation annotation)
addAnnotation in interface Builderpublic JavaSource getSource()