Modifier and Type | Method and Description |
---|---|
FieldDeclaration |
GeneratedJavaParser.FieldDeclaration(ModifierHolder modifier) |
Modifier and Type | Method and Description |
---|---|
FieldDeclaration |
FieldDeclaration.clone() |
FieldDeclaration |
FieldDeclaration.setModifiers(java.util.EnumSet<Modifier> modifiers) |
FieldDeclaration |
FieldDeclaration.setTransient(boolean set) |
FieldDeclaration |
FieldDeclaration.setVariables(NodeList<VariableDeclarator> variables) |
FieldDeclaration |
FieldDeclaration.setVolatile(boolean set) |
Modifier and Type | Method and Description |
---|---|
default FieldDeclaration |
NodeWithMembers.addField(java.lang.Class<?> typeClass,
java.lang.String name,
Modifier... modifiers)
Add a field to this and automatically add the import of the type if needed
|
default FieldDeclaration |
NodeWithMembers.addField(java.lang.String type,
java.lang.String name,
Modifier... modifiers)
Add a field to this
|
default FieldDeclaration |
NodeWithMembers.addField(Type type,
java.lang.String name,
Modifier... modifiers)
Add a field to this
|
default FieldDeclaration |
NodeWithMembers.addPrivateField(java.lang.Class<?> typeClass,
java.lang.String name)
Add a private field to this
|
default FieldDeclaration |
NodeWithMembers.addPrivateField(java.lang.String type,
java.lang.String name)
Add a private field to this and automatically add the import of the type if
needed
|
default FieldDeclaration |
NodeWithMembers.addProtectedField(java.lang.Class<?> typeClass,
java.lang.String name)
Add a protected field to this
|
default FieldDeclaration |
NodeWithMembers.addProtectedField(java.lang.String type,
java.lang.String name)
Add a protected field to this and automatically add the import of the type
if needed
|
default FieldDeclaration |
NodeWithMembers.addPublicField(java.lang.Class<?> typeClass,
java.lang.String name)
Add a public field to this
|
default FieldDeclaration |
NodeWithMembers.addPublicField(java.lang.String type,
java.lang.String name)
Add a public field to this and automatically add the import of the type if
needed
|
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<FieldDeclaration> |
NodeWithMembers.getFieldByName(java.lang.String name)
Try to find a
FieldDeclaration by its name |
default java.util.List<FieldDeclaration> |
NodeWithMembers.getFields()
Find all fields in the members of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
ModifierValidator.visit(FieldDeclaration n,
ProblemReporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
VoidVisitor.visit(FieldDeclaration n,
A arg) |
void |
VoidVisitorAdapter.visit(FieldDeclaration n,
A arg) |
R |
GenericVisitorAdapter.visit(FieldDeclaration n,
A arg) |
R |
GenericVisitor.visit(FieldDeclaration n,
A arg) |
Visitable |
ModifierVisitor.visit(FieldDeclaration n,
A arg) |
java.util.List<R> |
GenericListVisitorAdapter.visit(FieldDeclaration n,
A arg) |
Visitable |
CloneVisitor.visit(FieldDeclaration n,
java.lang.Object arg) |
java.lang.Boolean |
EqualsVisitor.visit(FieldDeclaration n,
Visitable arg) |
java.lang.Boolean |
ObjectIdentityEqualsVisitor.visit(FieldDeclaration n,
Visitable arg) |
java.lang.Integer |
HashCodeVisitor.visit(FieldDeclaration n,
java.lang.Void arg) |
java.lang.Integer |
ObjectIdentityHashCodeVisitor.visit(FieldDeclaration n,
java.lang.Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(FieldDeclaration n,
java.lang.Void arg) |