ChangeInfo (PsiMethod method, List<? extends ParameterInfoImpl> newParameterInfos, boolean delegate) { PsiType returnType = method.getReturnType(); return new JavaChangeInfoImpl(VisibilityUtil.getVisibilityModifier(method.getModifierList()), method, method.getName(), returnType != null ? CanonicalTypes.createTypeWrapper(returnType) : null, newParameterInfos.toArray(new ParameterInfoImpl[0]), null, delegate, Collections.emptySet(), Collections.emptySet()); }