code: @Deprecated
      public static String getText (TextBoxBase target, String defaultText)
      {
          String text = target.getText().trim();
          return text.equals(defaultText.trim()) ? "" : text;
      }
docs: Returns the contents of the supplied text box, accounting for the supplied default text.
  @deprecated use Widgets.getText(TextBoxBase, String)