Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.stmt | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer |
Modifier and Type | Field and Description |
---|---|
static ParseStart<VariableDeclarationExpr> |
ParseStart.VARIABLE_DECLARATION_EXPR |
Modifier and Type | Method and Description |
---|---|
static VariableDeclarationExpr |
JavaParser.parseVariableDeclarationExpr(String declaration)
Parses a variable declaration expression and returns a
VariableDeclarationExpr that represents it. |
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
VariableDeclarationExpr.setAnnotations(NodeList<AnnotationExpr> annotations) |
VariableDeclarationExpr |
VariableDeclarationExpr.setModifiers(EnumSet<Modifier> modifiers) |
VariableDeclarationExpr |
VariableDeclarationExpr.setVariables(NodeList<VariableDeclarator> variables) |
Modifier and Type | Method and Description |
---|---|
VariableDeclarationExpr |
ForeachStmt.getVariable() |
Modifier and Type | Method and Description |
---|---|
NodeList<VariableDeclarationExpr> |
TryStmt.getResources() |
Modifier and Type | Method and Description |
---|---|
ForeachStmt |
ForeachStmt.setVariable(VariableDeclarationExpr variable) |
Modifier and Type | Method and Description |
---|---|
TryStmt |
TryStmt.setResources(NodeList<VariableDeclarationExpr> resources) |
Constructor and Description |
---|
ForeachStmt(Range range,
VariableDeclarationExpr variable,
Expression iterable,
Statement body) |
ForeachStmt(VariableDeclarationExpr variable,
Expression iterable,
Statement body) |
ForeachStmt(VariableDeclarationExpr variable,
String iterable,
BlockStmt body) |
Constructor and Description |
---|
TryStmt(NodeList<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
TryStmt(Range range,
NodeList<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitor.visit(VariableDeclarationExpr n,
A arg) |
Visitable |
ModifierVisitor.visit(VariableDeclarationExpr n,
A arg) |
void |
VoidVisitor.visit(VariableDeclarationExpr n,
A arg) |
void |
VoidVisitorAdapter.visit(VariableDeclarationExpr n,
A arg) |
R |
GenericVisitorAdapter.visit(VariableDeclarationExpr n,
A arg) |
void |
TreeStructureVisitor.visit(VariableDeclarationExpr n,
Integer arg) |
Visitable |
CloneVisitor.visit(VariableDeclarationExpr _n,
Object _arg) |
Boolean |
EqualsVisitor.visit(VariableDeclarationExpr n1,
Visitable arg) |
Integer |
HashCodeVisitor.visit(VariableDeclarationExpr n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(VariableDeclarationExpr n,
Void arg) |
Copyright © 2007–2017. All rights reserved.