If I have a constant BAR in Foo, which I will use in a class C I\'ll have to write
Object o = Foo.BAR + \"...\";
which I can use Ctrl-Shift-M i
Make sure no conflicts with other constant classes replace all the "Foo." with empty (" ") use this line at the top. worked for me
import static Foo.*