I'd like to find all non-static declaration of loggers. The template below works fine to find all logger declarations...
Logger $logger$ = Logger.getLogger($param$);
...but how can I say that I only want to find the ones that are non-static. I tried without success :(
protected final transient Logger LOGGER = Logger.getLogger(Foo.class);
No match expected:
private static final Logger LOGGER = Logger.getLogger(Bar.class);
Any help is highly appreciated. Thanks in advance!