title: How to use @UtilityClass lombok annotation on inner class in Eclipse IDE
body: <p>I have a class where <code>@UtilityClass</code> annotation on class C and class D gives error in eclipse IDE but works fine with IntelliJ</p>
  <blockquote>
  <p>@UtilityClass automatically makes the class static, however, this
  class cannot be made static.</p>
  </blockquote>
  <p>Not able to use @UtilityClass annotation on class C and class D. <code>Lombok v1.18.20 &quot;Envious Ferret&quot;</code> is installed.</p>
  <pre><code> @UtilityClass
      public class A {
      
          @UtilityClass
          public class B {
      
              public final String name = &quot;name&quot;;
              public final String id = &quot;id&quot;;
      
              @UtilityClass
              public class C {
      
                  public final String OVER = &quot;over.draft&quot;;
                  public final String ADD = &quot;add.draft&quot;;
              }
      
              @UtilityClass
              public class D {
      
                  public final String OVER = &quot;over.published&quot;;
                  public final String ADD = &quot;add.published&quot;;
              }
          }
      }
  </code></pre>