boolean (final ErrorInfo[] errorInfos) { boolean haveFixes = false; for(ErrorInfo errorInfo: errorInfos) { if (errorInfo.myFixes.length > 0 || errorInfo.getInspectionId() != null) { haveFixes = true; break; } } return haveFixes; }