void (String newReturnType, boolean generateDelegate, SimpleInfo... parameterInfos) { doTest(PsiModifier.PUBLIC, null, newReturnType, DefaultGroovyMethods.asType(parameterInfos, List.class), new ArrayList<>(), generateDelegate); }