title: How to wrap the return of @FindBy into another class
body: <p>The usage of the annotation @FindBy of selenium is:</p>
  <pre class="lang-java prettyprint-override"><code>    @FindBy(xpath='//xpath/selector')
      private WebElement element;
      
      public void setText(String text) {
        element.clear();
        element.sendKeys(text);
      }
  </code></pre>
  <p>But I would like to wrap the WebElement result from the FindBy into another class TextBox for example</p>
  <pre class="lang-java prettyprint-override"><code>public class TextBox {
      private final WebElement element;
  
      public TextBox(WebElement element){
          this.element = element;
      }
  
      public void setText(String text) {
          element.clear();
          element.sendKeys(text);
      }
  }
  </code></pre>
  <p>And being able to use it as follows</p>
  <pre class="lang-java prettyprint-override"><code>@FindBy(xpath='//xpath/selector')
  private TextBox element;
  </code></pre>