title: Customised annotation in spring
body: <p>I have seen few examples where customized annotations were used. example </p>
  
  <pre><code>@SimpleAnnotation
  class SampleBean {
    @SimpleAnnotation
    public String getName() {
      return "AAA";
    }
  
    public void setName(String name) {
    }
  
    public int getHeight() {
      return 201;
    }
  }
  
  @Target( { ElementType.METHOD, ElementType.TYPE })
  @Retention(RetentionPolicy.RUNTIME)
  @interface SimpleAnnotation {
  }
  </code></pre>
  
  <p>Can anyone tell why we use this?</p>