void (int @NotNull [] ids, @NotNull String name) { for (int id : ids) { if (id == Pass.UPDATE_FOLDING || id == Pass.POPUP_HINTS || id == Pass.UPDATE_ALL || id == Pass.LOCAL_INSPECTIONS || id == Pass.EXTERNAL_TOOLS || id == Pass.WOLF || id == Pass.LINE_MARKERS || id == Pass.SLOW_LINE_MARKERS || id == Pass.WHOLE_FILE_LOCAL_INSPECTIONS ) { continue; } PassConfig config = myRegisteredPassFactories.get(id); if (config == null) { throw new IllegalArgumentException("Argument '"+name+"' must not contain 0 or -1 or other crazy/unknown pass ids, but got " + Arrays.toString(ids)); } } }