Package | Description |
---|---|
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.stmt |
Modifier and Type | Method and Description |
---|---|
Optional<Expression> |
LambdaExpr.getExpressionBody() |
boolean |
UnaryExpr.isPostfix() |
boolean |
UnaryExpr.isPrefix() |
Modifier and Type | Method and Description |
---|---|
default Optional<Type> |
NodeWithVariables.getMaximumCommonType()
Returns the type that maximum shared type between all variables.
|
default boolean |
NodeWithTypeArguments.isUsingDiamondOperator() |
Modifier and Type | Method and Description |
---|---|
boolean |
IfStmt.hasCascadingIfStmt()
This method returns true if the If Statement has an else branch and that branch is another If Statement.
|
boolean |
IfStmt.hasElseBlock()
This method returns true if the If Statement has an else branch and that branch is a block statement.
|
boolean |
IfStmt.hasElseBranch()
This method returns true if the If Statement has an else branch.
|
boolean |
IfStmt.hasThenBlock()
This method returns true if the then branch (which should be always present) is a block statement.
|
boolean |
SwitchEntry.isSwitchStatementEntry()
This is required for the ConcreteSyntaxModel, specifically to determine whether this
entry uses the classic switch statement syntax (e.g.
|
Copyright © 2007–2024. All rights reserved.