public class FieldCreator extends Object
| Constructor and Description |
|---|
FieldCreator(ReferenceCreator referenceCreator) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Field> |
createFieldForInterface(org.jboss.jandex.MethodInfo methodInfo,
Reference parentObjectReference)
Creates a field from a method only.
|
Optional<Field> |
createFieldForPojo(Direction direction,
org.jboss.jandex.FieldInfo fieldInfo,
org.jboss.jandex.MethodInfo methodInfo,
Reference parentObjectReference)
Creates a field from a field and method.
|
Optional<Field> |
createFieldForPojo(Direction direction,
org.jboss.jandex.FieldInfo fieldInfo,
Reference parentObjectReference)
Creates a field from a public field.
|
public FieldCreator(ReferenceCreator referenceCreator)
public Optional<Field> createFieldForInterface(org.jboss.jandex.MethodInfo methodInfo, Reference parentObjectReference)
methodInfo - the java methodpublic Optional<Field> createFieldForPojo(Direction direction, org.jboss.jandex.FieldInfo fieldInfo, org.jboss.jandex.MethodInfo methodInfo, Reference parentObjectReference)
direction - the direction (in/out)fieldInfo - the java propertymethodInfo - the java methodpublic Optional<Field> createFieldForPojo(Direction direction, org.jboss.jandex.FieldInfo fieldInfo, Reference parentObjectReference)
direction - the direction (in/out)fieldInfo - the java propertyCopyright © 2018–2021. All rights reserved.