void (boolean has, @NotNull PyTargetExpression expression) { final String message = "Target '" + expression.getName() + "' should " + (has ? "" : "not ") + "have typing alias stub"; final PyTypingAliasStub stub = getAliasStub(expression); if (has) { assertNotNull(message, stub); } else { assertNull(message, stub); } }