docs: @Nullable
    @Deprecated
    @SuppressWarnings("deprecation")
    public static <T extends Annotation> T getAnnotation(Symbol sym, Class<T> annotationClass) {
      return sym == null ? null : sym.getAnnotation(annotationClass);
    }