void () { DataFlowInspection8Test.setupTypeUseAnnotations("tu", myFixture); NullableNotNullManager nnnManager = NullableNotNullManager.getInstance(getProject()); String defaultNotNull = nnnManager.getDefaultNotNull(); nnnManager.setDefaultNotNull("tu.NotNull"); try { configureJava(""" class X { public static void main(String[] args) { System.out.println(getSomething(<caret>)); } public static String getSomething(Something l) { return l.toString(); } } """); showParameterInfo(); checkHintContents("<html><b>@NotNull Something l</b></html>"); } finally { nnnManager.setDefaultNotNull(defaultNotNull); } }