Class ParenthesizedPatternModel
java.lang.Object
software.coley.sourcesolver.model.AbstractModel
software.coley.sourcesolver.model.AbstractPatternModel
software.coley.sourcesolver.model.ParenthesizedPatternModel
- All Implemented Interfaces:
Model
Model switch pattern matching as described in the JDK 17 preview feature implementation.
See:
See:
ParenthesizedPatternTree- Author:
- Matt Coley
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.coley.sourcesolver.model.AbstractModel
getChildren, getParent, getRange, resolveAtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.coley.sourcesolver.model.Model
getChildAtPosition, getParentOfType, getRecursiveChildrenOfType, getSource, isChildOf, isParentOf, resolve, visit
-
Constructor Details
-
ParenthesizedPatternModel
-
-
Method Details
-
getPattern
-
equals
- Specified by:
equalsin classAbstractModel
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractModel
-
toString
-