docs: @Nullable
    @Deprecated
    public static <T extends Annotation> T getAnnotation(Tree tree, Class<T> annotationClass) {
      Symbol sym = getSymbol(tree);
      return sym == null ? null : getAnnotation(sym, annotationClass);
    }