Groovy in NetBeans - Go To Declaration

Let's have a look at another editor feature. Often you want to navigate from one variable to its declaration which can be pages higher in the code. In that case Go To Declaration hyperlink action invoked by combination of mouse click + Command key (Mac) or Ctrl might help. In this example cursor would jump on 'list' field definition.