how to search and replace structurally

Hello! I am migrating my Junit tests from Junit v3 to Junit v4.
I was hoping to use the search and replace structurally "srs" to add an @Test annotation before all methods starting with test.*.
I just cant figura out how to do it... I can create a query that will find all methods without an annotation (there is an example bundled in Intellij)

Please sign in to leave a comment.