title: Create custom annotation for Lombok
body: <p>I have used Lombok in my code to automatically generate getter and setter code. I want to add other personal annotations and use it.</p>
  <p>For example, I want to add an <code>@Exist</code> method which verifies the existence of a key in a list:</p>
  <pre><code>@Getter    @Setter
  public class User {
  
      private String name;
      private List&lt;Integer&gt; keys;
  
      public boolean existKeys(Integer key) {
          boolean exist = keys.contains(key);
          return exist;
      }
  }
  </code></pre>
  <p>After creating the annotation, I would do something like:</p>
  <pre><code>@Getter    @Setter
  public class User {
  
      private String name;
      @Exist
      private List&lt;Integer&gt; keys;
  } 
  </code></pre>