public class TypeCreator extends Object
The type object has fields that might reference other types that should still be created. It might also implement some interfaces that should be created. It might also have some operations that reference other types that should still be created.
| Constructor and Description |
|---|
TypeCreator(ReferenceCreator referenceCreator,
FieldCreator fieldCreator,
OperationCreator operationCreator,
TypeAutoNameStrategy autoNameStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFields(Type type,
org.jboss.jandex.ClassInfo classInfo,
Reference reference) |
protected void |
addOperations(Type type,
org.jboss.jandex.ClassInfo classInfo) |
Type |
create(org.jboss.jandex.ClassInfo classInfo,
Reference reference) |
protected ReferenceType |
referenceType() |
void |
setDirectives(Directives directives) |
protected Map<String,Operation> |
toOperations(Map<org.jboss.jandex.DotName,List<org.jboss.jandex.MethodParameterInfo>> sourceFields,
Type type,
org.jboss.jandex.ClassInfo classInfo) |
public TypeCreator(ReferenceCreator referenceCreator, FieldCreator fieldCreator, OperationCreator operationCreator, TypeAutoNameStrategy autoNameStrategy)
protected void addFields(Type type, org.jboss.jandex.ClassInfo classInfo, Reference reference)
protected ReferenceType referenceType()
public void setDirectives(Directives directives)
protected void addOperations(Type type, org.jboss.jandex.ClassInfo classInfo)
Copyright © 2018–2021. All rights reserved.