Package org.checkerframework.javacutil
Class TreeUtilsAfterJava11.BindingPatternUtils
- java.lang.Object
-
- org.checkerframework.javacutil.TreeUtilsAfterJava11.BindingPatternUtils
-
- Enclosing class:
- TreeUtilsAfterJava11
public static class TreeUtilsAfterJava11.BindingPatternUtils extends java.lang.Object
Utility methods for accessingBindingPatternTree
methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sun.source.tree.VariableTree
getVariable(com.sun.source.tree.Tree bindingPatternTree)
Returns the binding variable ofbindingPatternTree
.
-
-
-
Method Detail
-
getVariable
public static com.sun.source.tree.VariableTree getVariable(com.sun.source.tree.Tree bindingPatternTree)
Returns the binding variable ofbindingPatternTree
.- Parameters:
bindingPatternTree
- the BindingPatternTree whose binding variable is returned- Returns:
- the binding variable of
bindingPatternTree
-
-