void () { configureByFile("beforeStaticFieldInInnerClass.java"); new MockIntroduceFieldHandler(BaseExpressionToFieldHandler.InitializationPlace.IN_CURRENT_METHOD, false) { @Override protected int getChosenClassIndex(List<PsiClass> classes) { return 0; } }.invoke(getProject(), getEditor(), getFile(), null); checkResultByFile("afterStaticFieldInInnerClass.java"); }