void (@NotNull PySlashParameter param, boolean first, boolean last) { if (hadSlash) { markError(param, PyPsiBundle.message("ANN.multiple.slash")); } hadSlash = true; if (hadPositionalContainer) { markError(param, PyPsiBundle.message("ANN.slash.param.after.vararg")); } else if (hadKeywordContainer) { markError(param, PyPsiBundle.message("ANN.slash.param.after.keyword")); } if (first) { markError(param, PyPsiBundle.message("ANN.named.parameters.before.slash")); } }