Uses of Interface
org.jboss.forge.roaster.model.source.FieldSource
-
Packages that use FieldSource Package Description org.jboss.forge.roaster.model.source org.jboss.forge.roaster.model.util -
-
Uses of FieldSource in org.jboss.forge.roaster.model.source
Methods in org.jboss.forge.roaster.model.source that return FieldSource Modifier and Type Method Description FieldSource<O>FieldHolderSource. addField()Add a new JavaFieldto thisFieldHolderSourceinstance.FieldSource<O>FieldHolderSource. addField(String declaration)Add a newFielddeclaration to thisFieldHolderSourceinstance, using the givenStringas the declaration.FieldSource<O>PropertySource. createField()Create the storing field.FieldSource<O>FieldHolderSource. getField(String name)Get theFieldwith the given name and return it, otherwise, return null.FieldSource<O>PropertySource. getField()Override.FieldSource<O>FieldSource. setLiteralInitializer(String value)FieldSource<O>FieldSource. setStringInitializer(String value)FieldSource<O>FieldSource. setTransient(boolean value)FieldSource<O>FieldSource. setType(Class<?> clazz)FieldSource<O>FieldSource. setType(String type)Set the type of thisFieldto the given type.FieldSource<O>FieldSource. setType(JavaType<?> entity)Set the type of thisFieldto the givenJavaSourcetype.FieldSource<O>FieldSource. setVolatile(boolean value)Methods in org.jboss.forge.roaster.model.source that return types with arguments of type FieldSource Modifier and Type Method Description List<FieldSource<O>>FieldHolderSource. getFields()Get a list of allFields declared by thisFieldHolderSource, or return an empty list if noFields are declared. -
Uses of FieldSource in org.jboss.forge.roaster.model.util
Methods in org.jboss.forge.roaster.model.util with parameters of type FieldSource Modifier and Type Method Description static voidRefactory. createEquals(JavaClassSource clazz, FieldSource<?>... fields)Create an equals implementation for the given class and fields.static voidRefactory. createGetterAndSetter(JavaClassSource clazz, FieldSource<JavaClassSource> field)Generates a getXXX and setXXX method for the supplied fieldstatic voidRefactory. createHashCode(JavaClassSource clazz, FieldSource<?>... fields)Create a hashCode implementation for the given class and fields.static voidRefactory. createHashCodeAndEquals(JavaClassSource clazz, FieldSource<?>... fields)Create a hashCode and equals implementation for the given class and fields.static voidRefactory. createToStringFromFields(JavaClassSource clazz, FieldSource<JavaClassSource>... fields)Create a toString implementation using the supplied fieldsMethod parameters in org.jboss.forge.roaster.model.util with type arguments of type FieldSource Modifier and Type Method Description static voidRefactory. createToStringFromFields(JavaClassSource clazz, List<FieldSource<JavaClassSource>> fields)Create a toString implementation using the supplied fields
-