Class TreeUtilsAfterJava11.YieldUtils

  • Enclosing class:
    TreeUtilsAfterJava11

    public static class TreeUtilsAfterJava11.YieldUtils
    extends java.lang.Object
    Utility methods for accessing YieldTree methods.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.sun.source.tree.ExpressionTree getValue​(com.sun.source.tree.Tree yieldTree)
      Returns the value (expression) for yieldTree.
      • Methods inherited from class java.lang.Object

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

      • getValue

        public static com.sun.source.tree.ExpressionTree getValue​(com.sun.source.tree.Tree yieldTree)
        Returns the value (expression) for yieldTree.
        Parameters:
        yieldTree - the yield tree
        Returns:
        the value (expression) for yieldTree