@ApiStatus.Internal
  public @NotNull Set<Recompile> methodAnnotationsChanged(
    NamingContext context, ProtoMethodEntity method,
    Difference.Specifier<TypeRepr.ClassType, Difference> annotationsDiff,
    Difference.Specifier<ParamAnnotation, Difference> paramAnnotationsDiff
  ) {
    if (method instanceof MethodRepr && context instanceof DependencyContext) {
      Set<Recompile> result =
        methodAnnotationsChanged((DependencyContext)context, (MethodRepr)method, annotationsDiff, paramAnnotationsDiff);
      if (!result.isEmpty()) {
        return result;
      }
    }
    return RECOMPILE_NONE;
  }
@ApiStatus.Internal
  public @NotNull Set<Recompile> methodAnnotationsChanged(
    NamingContext context, ProtoMethodEntity method,
    Difference.Specifier<TypeRepr.ClassType, Difference> annotationsDiff,
    Difference.Specifier<ParamAnnotation, Difference> paramAnnotationsDiff
  )