void () { final JavaPsiFacade facade = JavaPsiFacade.getInstance(getProject()); final PsiType pointType = facade.getElementFactory().createTypeFromText("Point", null); doTest(null, null, null, method -> { return new ParameterInfoImpl[]{ ParameterInfoImpl.create(2).withName("i").withType(PsiTypes.intType()), ParameterInfoImpl.create(1).withName("point2").withType(pointType), ParameterInfoImpl.create(0).withName("point1").withType(pointType), }; }, false); }