docs: public static <T extends Tree> Matcher<T> hasAnnotation(final String annotationClass) {
      return new Matcher<T>() {
        @Override
        public boolean matches(T tree, VisitorState state) {
          return ASTHelpers.hasAnnotation(ASTHelpers.getDeclaredSymbol(tree), annotationClass, state);
        }
      };
    }