PsiType (PsiParameter[] parameters, int i, @Nullable PsiSubstitutor substitutor, boolean varargs) { if (substitutor == null || !varargs && i >= parameters.length) return null; return substitutor.substitute(PsiTypesUtil.getParameterType(parameters, i, varargs)); }