void setSemanticContent(int index, int value) { final attributes = getAttributes(index); setAttributes( index, (attributes & ~CellAttr.semanticMask) | (value & CellAttr.semanticMask), ); }