use of com.siyeh.ig.style.MissortedModifiersInspection in project intellij-community by JetBrains.
the class CreateConstructorParameterFromFieldTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
enableInspectionTools(new UnusedDeclarationInspection(), new MissortedModifiersInspection(), new UnqualifiedFieldAccessInspection());
final CodeStyleSettings settings = CodeStyleSettingsManager.getSettings(getProject());
myPreferLongNames = settings.PREFER_LONGER_NAMES;
if (getTestName(false).contains("SameParameter")) {
settings.PREFER_LONGER_NAMES = false;
}
}
Aggregations