Skip to content

Commit

Permalink
Add Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed Dec 15, 2021
1 parent 176a87d commit a04acc7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,13 @@ public Void visitSwitch(SwitchTree javacTree, Node javaParserNode) {
return null;
}

/**
* Visit a switch expression.
*
* @param javacTree switch expression tree
* @param javaParserNode java parser node
* @return null
*/
public Void visitSwitchExpression17(Tree javacTree, Node javaParserNode) {
SwitchExpr node = castNode(SwitchExpr.class, javaParserNode, javacTree);
processSwitchExpression(javacTree, node);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ public Void visitSwitch(SwitchTree tree, Void p) {
return super.visitSwitch(tree, p);
}

/**
* Visit a switch expression tree.
*
* @param tree switch expression tree
* @param p null
* @return null
*/
public Void visitSwitchExpression17(Tree tree, Void p) {
defaultAction(tree);
return super.scan(tree, p);
Expand Down Expand Up @@ -454,6 +461,13 @@ public Void visitWildcard(WildcardTree tree, Void p) {
return super.visitWildcard(tree, p);
}

/**
* Visit a yield tree.
*
* @param tree a yield tree
* @param p null
* @return null
*/
public Void visitYield17(Tree tree, Void p) {
defaultAction(tree);
return super.scan(tree, p);
Expand Down

0 comments on commit a04acc7

Please sign in to comment.