Modifier and Type | Method and Description |
---|---|
FieldDeclaration |
FieldDeclaration.clone() |
FieldDeclaration |
FieldDeclaration.setModifiers(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(Class<?> typeClass,
String name,
Modifier... modifiers)
Add a field to this and automatically add the import of the type if needed
|
default FieldDeclaration |
NodeWithMembers.addField(String type,
String name,
Modifier... modifiers)
Add a field to this
|
default FieldDeclaration |
NodeWithMembers.addField(Type type,
String name,
Modifier... modifiers)
Add a field to this
|
default FieldDeclaration |
NodeWithMembers.addPrivateField(Class<?> typeClass,
String name)
Add a private field to this
|
default FieldDeclaration |
NodeWithMembers.addPrivateField(String type,
String name)
Add a private field to this and automatically add the import of the type if
needed
|
default FieldDeclaration |
NodeWithMembers.addProtectedField(Class<?> typeClass,
String name)
Add a protected field to this
|
default FieldDeclaration |
NodeWithMembers.addProtectedField(String type,
String name)
Add a protected field to this and automatically add the import of the type
if needed
|
default FieldDeclaration |
NodeWithMembers.addPublicField(Class<?> typeClass,
String name)
Add a public field to this
|
default FieldDeclaration |
NodeWithMembers.addPublicField(String type,
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 Optional<FieldDeclaration> |
NodeWithMembers.getFieldByName(String name)
Try to find a
FieldDeclaration by its name |
default 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 |
---|---|
R |
GenericVisitor.visit(FieldDeclaration n,
A arg) |
Visitable |
ModifierVisitor.visit(FieldDeclaration n,
A arg) |
void |
VoidVisitor.visit(FieldDeclaration n,
A arg) |
void |
VoidVisitorAdapter.visit(FieldDeclaration n,
A arg) |
R |
GenericVisitorAdapter.visit(FieldDeclaration n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(FieldDeclaration n,
A arg) |
void |
TreeStructureVisitor.visit(FieldDeclaration n,
Integer arg) |
Visitable |
CloneVisitor.visit(FieldDeclaration n,
Object arg) |
Boolean |
EqualsVisitor.visit(FieldDeclaration n,
Visitable arg) |
Integer |
HashCodeVisitor.visit(FieldDeclaration n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(FieldDeclaration n,
Void arg) |
Copyright © 2007–2017. All rights reserved.