title: Finding Annotations in IntelliJ IDEA
body: <p>I can easily find all mentions of some annotation in my project using SSR (structural search and replace). For example I have following spring based code:</p>
  
  <pre><code>class DashboardController {
  
    @RequestMapping("/dashboard")
    public void doDashboard() {
      [...]
    }
  }
  </code></pre>
  
  <p>If I search by pattern <code>org.springframework.web.bind.annotation.RequestMapping</code> than I will find my code. But what if I want to find methods annotated with parametrized annotation, so find only method with annotations <code>@RequestMapping</code> for "/dashboard" url?</p>
  
  <p>I can simply search by <code>@RequestMapping("/dashboard")</code> string, but annotation can be written in several ways:</p>
  
  <pre><code>@RequestMapping("/dashboard")
  @RequestMapping(value = "/dashboard", method = {RequestMethod.POST})
  @RequestMapping(headers = "content-type=application/*", value = "/dashboard")
  </code></pre>
  
  <p>etc.</p>