private class MissortedModifiersVisitor
extends BaseInspectionVisitor {
private boolean m_isInClass = false;</BUG>
public void visitClass(@NotNull PsiClass aClass) {
<BUG>if (!m_isInClass) {
m_isInClass = true;</BUG>
super.visitClass(aClass);
checkForMissortedModifiers(aClass);
<BUG>m_isInClass = false;
}</BUG>
}

final PsiMethod method =
factory.createMethodFromText(text, modifierList);
final PsiModifierList newModifierList = method.getModifierList();
modifierList.replace(newModifierList);
}
}
private class MissortedModifiersVisitor extends BaseInspectionVisitor {
public void visitClass(@NotNull PsiClass aClass) {
super.visitClass(aClass);
checkForMissortedModifiers(aClass);
}
