code: public static <T extends Tree> Enclosing.Class<T> enclosingClass(Matcher<ClassTree> matcher) {
      return new Enclosing.Class<>(matcher);
    }
docs: Matches an AST node which is enclosed by a class node that matches the given matcher.