Uses of Class
com.github.javaparser.ast.body.FieldDeclaration
-
-
Uses of FieldDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return FieldDeclaration Modifier and Type Method Description FieldDeclaration
BodyDeclaration. asFieldDeclaration()
FieldDeclaration
FieldDeclaration. asFieldDeclaration()
FieldDeclaration
FieldDeclaration. clone()
FieldDeclaration
FieldDeclaration. setModifiers(NodeList<Modifier> modifiers)
FieldDeclaration
FieldDeclaration. setTransient(boolean set)
FieldDeclaration
FieldDeclaration. setVariables(NodeList<VariableDeclarator> variables)
FieldDeclaration
FieldDeclaration. setVolatile(boolean set)
Methods in com.github.javaparser.ast.body that return types with arguments of type FieldDeclaration Modifier and Type Method Description Optional<FieldDeclaration>
BodyDeclaration. toFieldDeclaration()
Optional<FieldDeclaration>
FieldDeclaration. toFieldDeclaration()
Method parameters in com.github.javaparser.ast.body with type arguments of type FieldDeclaration Modifier and Type Method Description void
BodyDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)
void
FieldDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)
-
Uses of FieldDeclaration in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return FieldDeclaration Modifier and Type Method Description default FieldDeclaration
NodeWithMembers. addField(Type type, String name, Modifier.Keyword... modifiers)
Add a field to this.default FieldDeclaration
NodeWithMembers. addField(Class<?> typeClass, String name, Modifier.Keyword... modifiers)
Add a field to this and automatically add the import of the type if neededdefault FieldDeclaration
NodeWithMembers. addField(String type, String name, Modifier.Keyword... modifiers)
Add a field to this.default FieldDeclaration
NodeWithMembers. addFieldWithInitializer(Type type, String name, Expression initializer, Modifier.Keyword... modifiers)
Add a field to this.default FieldDeclaration
NodeWithMembers. addFieldWithInitializer(Class<?> typeClass, String name, Expression initializer, Modifier.Keyword... modifiers)
Add a field to this and automatically add the import of the type if neededdefault FieldDeclaration
NodeWithMembers. addFieldWithInitializer(String type, String name, Expression initializer, Modifier.Keyword... modifiers)
Add a field to this.default FieldDeclaration
NodeWithMembers. addPrivateField(Type type, String name)
Add a private 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(Type type, String name)
Add a protected field to this.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(Type type, String name)
Add a public field to this.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.Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type FieldDeclaration Modifier and Type Method Description default Optional<FieldDeclaration>
NodeWithMembers. getFieldByName(String name)
Try to find aFieldDeclaration
by its namedefault List<FieldDeclaration>
NodeWithMembers. getFields()
Find all fields in the members of this node. -
Uses of FieldDeclaration in com.github.javaparser.ast.validator.chunks
Methods in com.github.javaparser.ast.validator.chunks with parameters of type FieldDeclaration Modifier and Type Method Description void
ModifierValidator. visit(FieldDeclaration n, ProblemReporter reporter)
-
Uses of FieldDeclaration in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type FieldDeclaration Modifier and Type Method Description Visitable
CloneVisitor. visit(FieldDeclaration n, Object arg)
Boolean
EqualsVisitor. visit(FieldDeclaration n, Visitable arg)
List<R>
GenericListVisitorAdapter. visit(FieldDeclaration n, A arg)
R
GenericVisitor. visit(FieldDeclaration n, A arg)
R
GenericVisitorAdapter. visit(FieldDeclaration n, A arg)
R
GenericVisitorWithDefaults. visit(FieldDeclaration n, A arg)
Integer
HashCodeVisitor. visit(FieldDeclaration n, Void arg)
Visitable
ModifierVisitor. visit(FieldDeclaration n, A arg)
Boolean
NoCommentEqualsVisitor. visit(FieldDeclaration n, Visitable arg)
Integer
NoCommentHashCodeVisitor. visit(FieldDeclaration n, Void arg)
Boolean
ObjectIdentityEqualsVisitor. visit(FieldDeclaration n, Visitable arg)
Integer
ObjectIdentityHashCodeVisitor. visit(FieldDeclaration n, Void arg)
void
VoidVisitor. visit(FieldDeclaration n, A arg)
void
VoidVisitorAdapter. visit(FieldDeclaration n, A arg)
void
VoidVisitorWithDefaults. visit(FieldDeclaration n, A arg)
-
Uses of FieldDeclaration in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type FieldDeclaration Modifier and Type Method Description void
PrettyPrintVisitor. visit(FieldDeclaration n, Void arg)
-