PsiParameter[] parameters = method.getParameterList().getParameters();
if(parameters.length != 1) return null;
return resolveResult.getSubstitutor().substitute(parameters[0].getType());
}
@Override
<BUG>void migrate(@NotNull Project project,
</BUG>
@NotNull ProblemDescriptor descriptor,
@NotNull PsiForeachStatement foreachStatement,
@NotNull PsiExpression iteratedValue,

PsiParameter[] parameters = method.getParameterList().getParameters();
if(parameters.length != 1) return null;
return resolveResult.getSubstitutor().substitute(parameters[0].getType());
}
@Override
PsiElement migrate(@NotNull Project project,
@NotNull ProblemDescriptor descriptor,
@NotNull PsiForeachStatement foreachStatement,
@NotNull PsiExpression iteratedValue,
