Code Style: add annotations to reorder modifiers
Answered
Hi all,
When using JavaEE annotation @PostConstruct, I like to have my methods all the way up just under the fields declarations.
The problem is that IntelliJ won't look at annotations when reordering the method, so my @PostConstruct private void method() will be placed after the static methods.
Is it possible to add an annotation modifier in this screen:

Where I could say "If you see a method that has the `@PostConstruct` annotation, place it over there".
Please sign in to leave a comment.
Please vote for https://youtrack.jetbrains.com/issue/IDEA-112354.