|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Field | |
|---|---|
| org.jboss.forge.parser.java | |
| org.jboss.forge.parser.java.util | |
| Uses of Field in org.jboss.forge.parser.java |
|---|
| Methods in org.jboss.forge.parser.java that return Field | |
|---|---|
Field<T> |
FieldHolder.addField()
Add a new Java Field to this T instance. |
Field<T> |
FieldHolder.addField(String declaration)
Add a new Field declaration to this T instance, using the given String as the declaration. |
Field<T> |
FieldHolder.getField(String name)
Get the Field with the given name and return it, otherwise, return null. |
Field<O> |
Field.setLiteralInitializer(String value)
|
Field<O> |
Field.setName(String name)
|
Field<O> |
Field.setStringInitializer(String value)
|
Field<O> |
Field.setType(Class<?> clazz)
Set the type of this Field to the given Class type. |
Field<O> |
Field.setType(JavaSource<?> entity)
Set the type of this Field to the given JavaSource> type. |
Field<O> |
Field.setType(String type)
Set the type of this Field to the given type. |
| Methods in org.jboss.forge.parser.java that return types with arguments of type Field | |
|---|---|
List<Field<T>> |
FieldHolder.getFields()
Get a list of all Fields declared by this T, or return an empty list if no Fields are
declared. |
| Methods in org.jboss.forge.parser.java with parameters of type Field | |
|---|---|
boolean |
FieldHolder.hasField(Field<T> field)
Return whether or not this T declares the given Field instance. |
T |
FieldHolder.removeField(Field<T> field)
Remove the given Field from this T instance, if it exists; otherwise, do nothing. |
| Uses of Field in org.jboss.forge.parser.java.util |
|---|
| Methods in org.jboss.forge.parser.java.util with parameters of type Field | |
|---|---|
static void |
Refactory.createGetterAndSetter(JavaClass entity,
Field<JavaClass> field)
|
| Method parameters in org.jboss.forge.parser.java.util with type arguments of type Field | |
|---|---|
static void |
Refactory.createToStringFromFields(JavaClass entity,
List<Field<JavaClass>> fields)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||