boolean () { for (GrClosureParameter parameter : myParameters) { if (!parameter.isValid()) return false; } final PsiType returnType = getReturnType(); return returnType == null || returnType.isValid(); }