Uses of Class
com.github.javaparser.ast.body.VariableDeclarator
-
-
Uses of VariableDeclarator in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return VariableDeclarator Modifier and Type Method Description VariableDeclaratorVariableDeclarator. clone()VariableDeclaratorVariableDeclarator. removeInitializer()VariableDeclaratorVariableDeclarator. setInitializer(Expression initializer)Sets the initializer expressionVariableDeclaratorVariableDeclarator. setInitializer(String init)Will create aNameExprwith the initializer paramVariableDeclaratorVariableDeclarator. setName(SimpleName name)VariableDeclaratorVariableDeclarator. setType(Type type)Methods in com.github.javaparser.ast.body that return types with arguments of type VariableDeclarator Modifier and Type Method Description NodeList<VariableDeclarator>FieldDeclaration. getVariables()Method parameters in com.github.javaparser.ast.body with type arguments of type VariableDeclarator Modifier and Type Method Description FieldDeclarationFieldDeclaration. setVariables(NodeList<VariableDeclarator> variables)Constructors in com.github.javaparser.ast.body with parameters of type VariableDeclarator Constructor Description FieldDeclaration(NodeList<Modifier> modifiers, VariableDeclarator variable) -
Uses of VariableDeclarator in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return types with arguments of type VariableDeclarator Modifier and Type Method Description NodeList<VariableDeclarator>VariableDeclarationExpr. getVariables()Method parameters in com.github.javaparser.ast.expr with type arguments of type VariableDeclarator Modifier and Type Method Description VariableDeclarationExprVariableDeclarationExpr. setVariables(NodeList<VariableDeclarator> variables)Constructors in com.github.javaparser.ast.expr with parameters of type VariableDeclarator Constructor Description VariableDeclarationExpr(VariableDeclarator var)VariableDeclarationExpr(VariableDeclarator var, Modifier... modifiers)Constructor parameters in com.github.javaparser.ast.expr with type arguments of type VariableDeclarator Constructor Description VariableDeclarationExpr(NodeList<VariableDeclarator> variables) -
Uses of VariableDeclarator in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return VariableDeclarator Modifier and Type Method Description default VariableDeclaratorNodeWithVariables. getVariable(int i)Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type VariableDeclarator Modifier and Type Method Description NodeList<VariableDeclarator>NodeWithVariables. getVariables()Methods in com.github.javaparser.ast.nodeTypes with parameters of type VariableDeclarator Modifier and Type Method Description default NNodeWithVariables. addVariable(VariableDeclarator variableDeclarator)default NNodeWithVariables. setVariable(int i, VariableDeclarator variableDeclarator)Method parameters in com.github.javaparser.ast.nodeTypes with type arguments of type VariableDeclarator Modifier and Type Method Description NNodeWithVariables. setVariables(NodeList<VariableDeclarator> variables) -
Uses of VariableDeclarator in com.github.javaparser.ast.stmt
Methods in com.github.javaparser.ast.stmt that return VariableDeclarator Modifier and Type Method Description VariableDeclaratorForEachStmt. getVariableDeclarator()Convenience method that directly returns this foreach statement's single variable declarator. -
Uses of VariableDeclarator in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type VariableDeclarator Modifier and Type Method Description VisitableCloneVisitor. visit(VariableDeclarator n, Object arg)BooleanEqualsVisitor. visit(VariableDeclarator n, Visitable arg)List<R>GenericListVisitorAdapter. visit(VariableDeclarator n, A arg)RGenericVisitor. visit(VariableDeclarator n, A arg)RGenericVisitorAdapter. visit(VariableDeclarator n, A arg)RGenericVisitorWithDefaults. visit(VariableDeclarator n, A arg)IntegerHashCodeVisitor. visit(VariableDeclarator n, Void arg)VisitableModifierVisitor. visit(VariableDeclarator n, A arg)BooleanNoCommentEqualsVisitor. visit(VariableDeclarator n, Visitable arg)IntegerNoCommentHashCodeVisitor. visit(VariableDeclarator n, Void arg)voidNodeFinderVisitor. visit(VariableDeclarator n, Range arg)BooleanObjectIdentityEqualsVisitor. visit(VariableDeclarator n, Visitable arg)IntegerObjectIdentityHashCodeVisitor. visit(VariableDeclarator n, Void arg)voidVoidVisitor. visit(VariableDeclarator n, A arg)voidVoidVisitorAdapter. visit(VariableDeclarator n, A arg)voidVoidVisitorWithDefaults. visit(VariableDeclarator n, A arg) -
Uses of VariableDeclarator in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type VariableDeclarator Modifier and Type Method Description voidDefaultPrettyPrinterVisitor. visit(VariableDeclarator n, Void arg)voidPrettyPrintVisitor. visit(VariableDeclarator n, Void arg)Deprecated. -
Uses of VariableDeclarator in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return VariableDeclarator Modifier and Type Method Description static VariableDeclaratorNavigator. demandField(ClassOrInterfaceDeclaration cd, String name)Methods in com.github.javaparser.resolution that return types with arguments of type VariableDeclarator Modifier and Type Method Description static Optional<VariableDeclarator>Navigator. demandVariableDeclaration(Node node, String name)default Optional<VariableDeclarator>Context. localVariableDeclarationInScope(String name)Aim to resolve the given name by looking for a variable matching it.default List<VariableDeclarator>Context. localVariablesExposedToChild(Node child)The local variables that are declared in this immediate context and made visible to a given child.
-