title: Annotation which invokes a method
body: <p>I'll start with a piece of code</p>
  
  <pre><code>class Clazz {
  
      public void doSomething() {
          ...
          check();
      }
  
      public void doSomethingElse() {
          ...
          check();
      }
  
      ... // etc., these methods look basically the same - they all call check() at the end
  }
  </code></pre>
  
  <p>Is it possible to annotate methods like <code>@Checked</code> which would cause to call the <code>check()</code>  at the end? And if it is, can you provide some examples?</p>