Annotation (@NotNull HighlightSeverity severity, @NotNull TextRange range, @NlsContexts.DetailedDescription @Nullable String message, @Nullable @NlsContexts.Tooltip String tooltip) { Class<?> callerClass = ReflectionUtilRt.findCallerClass(2); return doCreateAnnotation(severity, range, message, tooltip, callerClass, "createAnnotation"); }