code: public final String getTextOrField() {
          final String text = getText();
          if (text == null) {
              return field.getName();
          }
          return text;
      }
docs: Returns the text of the label or the name of the field if the text is <code>null</code>.
  
  @return Long text or field name - Never <code>null</code>.