docs: AnnotationInfo getImmutableAnnotation(Tree tree, VisitorState state) {
      Symbol sym = ASTHelpers.getSymbol(tree);
      return sym == null ? null : threadSafety.getMarkerOrAcceptedAnnotation(sym, state);
    }