void (OneOf oneOf) { myDepth++; if (maxDepthExceeded()) { add(styled("...", PyHighlighter.PY_DOT)); return; } if (oneOf.bitwiseOrUnionAllowed) { processList(oneOf.oneOfTypes, " | "); } else { add(escaped("Union")); //NON-NLS add(styled("[", PyHighlighter.PY_BRACKETS)); processList(oneOf.oneOfTypes); add(styled("]", PyHighlighter.PY_BRACKETS)); } myDepth--; }