Extraneous get in static imports for constants, e.g. getCONSTANT instead of just CONSTANT

For a Grails project, is there a way to tell Intellij to not add "get" before a constant name when it generates static imports?

For instance, when I choose "Add static import" from the suggested fixes drop-down, IDEA generates this:

import static com.abc.Test.getCONSTANT

instead of this:

import static com.abc.Test.CONSTANT


Kind regards,
Boris

Please sign in to leave a comment.