void (String dirPath, int classNamesInJavadoc) { JavaCodeStyleSettings javaSettings = JavaCodeStyleSettings.getInstance(getProject()); javaSettings.CLASS_NAMES_IN_JAVADOC = classNamesInJavadoc; doTest(dirPath, new UnnecessaryFullyQualifiedNameInspection()); }