question: public static TreePath pathTillOfKind ( final TreePath path , final Tree . Kind kind ) { return pathTillOfKind ( path , EnumSet . of ( kind ) ) ; }
target:  Gets path to the first enclosing tree of the specified kind.