void (Function<PsiClass, TypeParameterInfo[]> gen) { @NonNls final String filePathBefore = getTestName(false) + ".java"; @NonNls final String filePathAfter = getTestName(false) + ".java.after"; doTest(gen, filePathBefore, filePathAfter); }