void () { PsiClass aClass = getFile().getClasses()[0]; assertEquals("private transient", aClass.getFields()[0].getModifierList().getText()); assertEquals("private volatile", aClass.getFields()[1].getModifierList().getText()); assertEquals("public", aClass.getMethods()[0].getModifierList().getText()); assertEquals("private", aClass.getMethods()[1].getModifierList().getText()); assertEquals("private synchronized", aClass.getMethods()[2].getModifierList().getText()); }