title: Why doesn't lombok provide a getter method for inherited attribute?
body: <p>Given that i have the below class</p>
  
  <pre><code>import lombok.Data;
  @Data
  public class A extends B {
  }
  </code></pre>
  
  <p>And then class B is as below:</p>
  
  <pre><code>@Data
  public class B {
      protected Driver driver;
  }
  </code></pre>
  
  <p>But, when i try to get the driver by the following code:</p>
  
  <pre><code>A a = new A();
  a.getDriver();
  </code></pre>
  
  <p>But it complains with:</p>
  
  <pre><code>The method getDriver() is undefined for the type A
  </code></pre>