docs: protected StyledString text(SarlBehaviorUnit element) {
  		final StyledString text = new StyledString("on ", StyledString.DECORATIONS_STYLER); //$NON-NLS-1$
  		text.append(getHumanReadableName(element.getName()));
  		if (element.getGuard() != null) {
  			String txt = null;
  			final ICompositeNode node = NodeModelUtils.getNode(element.getGuard());
  			if (node != null) {
  				txt = node.getText().trim();
  			}
  			if (Strings.isNullOrEmpty(txt)) {
  				txt = "[" + Messages.SARLLabelProvider_2 + "]"; //$NON-NLS-1$//$NON-NLS-2$
  			} else {
  				assert txt != null;
  				final String dots = "..."; //$NON-NLS-1$
  				if (txt.length() > BEHAVIOR_UNIT_TEXT_LENGTH + dots.length()) {
  					txt = "[" + txt.substring(0, BEHAVIOR_UNIT_TEXT_LENGTH) + dots + "]"; //$NON-NLS-1$//$NON-NLS-2$
  				} else {
  					txt = "[" + txt + "]"; //$NON-NLS-1$//$NON-NLS-2$
  				}
  			}
  			text.append(" "); //$NON-NLS-1$
  			text.append(txt, StyledString.DECORATIONS_STYLER);
  		}
  		return text;
  	}