Package Summary Overview Summary

### class:TreeVisitor [CHANGED]
Type Parameters: `R` - the return type of this visitor's methods. Use `Void` for visitors that do not need to return results. `P` - the type of the additional parameter to this visitor's methods. Use `Void` for visitors that do not need an additional parameter. All Known Implementing Classes: `SimpleTreeVisitor`, `TreePathScanner`, `TreeScanner` public interface TreeVisitor<R,P> `TreeVisitor` relies on preview features of the Java platform: `TreeVisitor` refers to one or more reflective preview APIs: `DefaultCaseLabelTree`, `GuardedPatternTree`, `ParenthesizedPatternTree`. Programs can only use `TreeVisitor` when preview features are enabled. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform. A visitor of trees, in the style of the visitor design pattern. Classes implementing this interface are used to operate on a tree when the kind of tree is unknown at compile time. When a visitor is passed to an tree's `accept` method, the `visitXyz` method most applicable to that tree is invoked. Classes implementing this interface may or may not throw a `NullPointerException` if the additional parameter `p` is `null`; see documentation of the implementing class for details. WARNING: It is possible that methods will be added to this interface to accommodate new, currently unknown, language structures added to future versions of the Java programming language. Therefore, visitor classes directly implementing this interface may be source incompatible with future versions of the platform. Since: 1.6
Type Parameters: `R` - the return type of this visitor's methods. Use `Void` for visitors that do not need to return results. `P` - the type of the additional parameter to this visitor's methods. Use `Void` for visitors that do not need an additional parameter. All Known Implementing Classes: `SimpleTreeVisitor`, `TreePathScanner`, `TreeScanner` public interface TreeVisitor<R,P> A visitor of trees, in the style of the visitor design pattern. Classes implementing this interface are used to operate on a tree when the kind of tree is unknown at compile time. When a visitor is passed to an tree's `accept` method, the `visitXyz` method most applicable to that tree is invoked. Classes implementing this interface may or may not throw a `NullPointerException` if the additional parameter `p` is `null`; see documentation of the implementing class for details. WARNING: It is possible that methods will be added to this interface to accommodate new, currently unknown, language structures added to future versions of the Java programming language. Therefore, visitor classes directly implementing this interface may be source incompatible with future versions of the platform. Since: 1.6 | Type Parameters: `R` - the return type of this visitor's methods. Use `Void` for visitors that do not need to return results. `P` - the type of the additional parameter to this visitor's methods. Use `Void` for visitors that do not need an additional parameter. All Known Implementing Classes: `SimpleTreeVisitor`, `TreePathScanner`, `TreeScanner` public interface TreeVisitor<R,P> `TreeVisitor` relies on preview features of the Java platform: `TreeVisitor` refers to one or more reflective preview APIs: `DefaultCaseLabelTree`, `GuardedPatternTree`, `ParenthesizedPatternTree`. Programs can only use `TreeVisitor` when preview features are enabled. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform. A visitor of trees, in the style of the visitor design pattern. Classes implementing this interface are used to operate on a tree when the kind of tree is unknown at compile time. When a visitor is passed to an tree's `accept` method, the `visitXyz` method most applicable to that tree is invoked. Classes implementing this interface may or may not throw a `NullPointerException` if the additional parameter `p` is `null`; see documentation of the implementing class for details. WARNING: It is possible that methods will be added to this interface to accommodate new, currently unknown, language structures added to future versions of the Java programming language. Therefore, visitor classes directly implementing this interface may be source incompatible with future versions of the platform. Since: 1.6

### method:visitDefaultCaseLabel(com.sun.source.tree.DefaultCaseLabelTree,P) [ADDED]
### visitDefaultCaseLabel R visitDefaultCaseLabel (DefaultCaseLabelTreePREVIEW node, P p) `visitDefaultCaseLabel` is a reflective preview API of the Java platform. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform. Visits a DefaultCaseLabelTree node. Parameters: `node` - the node being visited `p` - a parameter value Returns: a result value Since: 17

### method:visitGuardedPattern(com.sun.source.tree.GuardedPatternTree,P) [ADDED]
### visitGuardedPattern R visitGuardedPattern (GuardedPatternTreePREVIEW node, P p) `visitGuardedPattern` is a reflective preview API of the Java platform. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform. Visits a GuardPatternTree node. Parameters: `node` - the node being visited `p` - a parameter value Returns: a result value Since: 17

### method:visitParenthesizedPattern(com.sun.source.tree.ParenthesizedPatternTree,P) [ADDED]
### visitParenthesizedPattern R visitParenthesizedPattern (ParenthesizedPatternTreePREVIEW node, P p) `visitParenthesizedPattern` is a reflective preview API of the Java platform. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform. Visits a ParenthesizedPatternTree node. Parameters: `node` - the node being visited `p` - a parameter value Returns: a result value Since: 17