Uses of Class
com.github.javaparser.ast.body.VariableDeclarator
-
-
Uses of VariableDeclarator in com.github.javaparser
Methods in com.github.javaparser that return VariableDeclarator Modifier and Type Method Description VariableDeclaratorGeneratedJavaParser. VariableDeclarator(Type partialType)https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.3 -
Uses of VariableDeclarator in com.github.javaparser.ast.body
Fields in com.github.javaparser.ast.body with type parameters of type VariableDeclarator Modifier and Type Field Description private NodeList<VariableDeclarator>FieldDeclaration. variablesMethods 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(java.lang.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
Fields in com.github.javaparser.ast.expr with type parameters of type VariableDeclarator Modifier and Type Field Description private NodeList<VariableDeclarator>VariableDeclarationExpr. variablesMethods 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.type
Methods in com.github.javaparser.ast.type with parameters of type VariableDeclarator Modifier and Type Method Description private java.util.Optional<ForEachStmt>VarType. forEachStmtWithVariableDeclarator(VariableDeclarator variableDeclarator) -
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, java.lang.Object arg)java.lang.BooleanEqualsVisitor. visit(VariableDeclarator n, Visitable arg)java.util.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)java.lang.IntegerHashCodeVisitor. visit(VariableDeclarator n, java.lang.Void arg)VisitableModifierVisitor. visit(VariableDeclarator n, A arg)java.lang.BooleanNoCommentEqualsVisitor. visit(VariableDeclarator n, Visitable arg)java.lang.IntegerNoCommentHashCodeVisitor. visit(VariableDeclarator n, java.lang.Void arg)voidNodeFinderVisitor. visit(VariableDeclarator n, Range arg)java.lang.BooleanObjectIdentityEqualsVisitor. visit(VariableDeclarator n, Visitable arg)java.lang.IntegerObjectIdentityHashCodeVisitor. visit(VariableDeclarator n, java.lang.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, java.lang.Void arg)voidPrettyPrintVisitor. visit(VariableDeclarator n, java.lang.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, java.lang.String name)Methods in com.github.javaparser.resolution that return types with arguments of type VariableDeclarator Modifier and Type Method Description static java.util.Optional<VariableDeclarator>Navigator. demandVariableDeclaration(Node node, java.lang.String name)default java.util.Optional<VariableDeclarator>Context. localVariableDeclarationInScope(java.lang.String name)Aim to resolve the given name by looking for a variable matching it.default java.util.List<VariableDeclarator>Context. localVariablesExposedToChild(Node child)The local variables that are declared in this immediate context and made visible to a given child. -
Uses of VariableDeclarator in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type VariableDeclarator Modifier and Type Method Description private java.util.Optional<ForEachStmt>JavaParserFacade. forEachStmtWithVariableDeclarator(VariableDeclarator variableDeclarator)ResolvedTypeDefaultVisitorAdapter. visit(VariableDeclarator node, java.lang.Boolean aBoolean)ResolvedTypeTypeExtractor. visit(VariableDeclarator node, java.lang.Boolean solveLambdas) -
Uses of VariableDeclarator in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type VariableDeclarator Modifier and Type Method Description private java.util.List<VariableDeclarator>BlockStmtContext. localVariablesDeclaredIn(Statement statement)java.util.List<VariableDeclarator>BlockStmtContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>CatchClauseContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>ForEachStatementContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>ForStatementContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>TryWithResourceContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>VariableDeclarationExprContext. localVariablesExposedToChild(Node child)java.util.List<VariableDeclarator>VariableDeclaratorContext. localVariablesExposedToChild(Node child)Constructors in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type VariableDeclarator Constructor Description VariableDeclaratorContext(VariableDeclarator wrappedNode, TypeSolver typeSolver) -
Uses of VariableDeclarator in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Fields in com.github.javaparser.symbolsolver.javaparsermodel.declarations declared as VariableDeclarator Modifier and Type Field Description private VariableDeclaratorJavaParserFieldDeclaration. variableDeclaratorprivate VariableDeclaratorJavaParserVariableDeclaration. variableDeclaratorMethods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return VariableDeclarator Modifier and Type Method Description VariableDeclaratorJavaParserFieldDeclaration. getVariableDeclarator()VariableDeclaratorJavaParserVariableDeclaration. getVariableDeclarator()Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type VariableDeclarator Modifier and Type Method Description static JavaParserFieldDeclarationJavaParserSymbolDeclaration. field(VariableDeclarator wrappedNode, TypeSolver typeSolver)static JavaParserVariableDeclarationJavaParserSymbolDeclaration. localVar(VariableDeclarator variableDeclarator, TypeSolver typeSolver)Constructors in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type VariableDeclarator Constructor Description JavaParserFieldDeclaration(VariableDeclarator variableDeclarator, TypeSolver typeSolver)JavaParserVariableDeclaration(VariableDeclarator variableDeclarator, TypeSolver typeSolver)
-