Class TreeUtilsAfterJava11.BindingPatternUtils

  • Enclosing class:
    TreeUtilsAfterJava11

    public static class TreeUtilsAfterJava11.BindingPatternUtils
    extends java.lang.Object
    Utility methods for accessing BindingPatternTree 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 of bindingPatternTree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getVariable

        public static com.sun.source.tree.VariableTree getVariable​(com.sun.source.tree.Tree bindingPatternTree)
        Returns the binding variable of bindingPatternTree.
        Parameters:
        bindingPatternTree - the BindingPatternTree whose binding variable is returned
        Returns:
        the binding variable of bindingPatternTree