Community
Participate
Working Groups
Hi, often there is code like this: class Test1 { public static final int MYCONST=1; } class Test2 extends Test1 { private int a, b, c; public void run() { a = Test2.MYCONST; b = this.MYCONST; c = MYCONST; } } the code should be [...] this.a = Test1.MYCONST; this.b = Test1.MYCONST; this.c = Test1.MYCONST; [...] I'd like to be abled to do that which a few clicks for many source files - like Organize Imports. I don't know what the feature should be called in the menu, but a window should appear where i can select the following options: - add "this" to access of non-static members -- also for inner classes - add classname to access of static memebers -- fix wrong class names -- fix usage of object instead of class That would help me a lot. Thx Sven
You have optional warnings for most of these already.
but i cannot quickfix many warnings at once. I don't want to click each warning and fix things (although that is what i'm doding right know)
in addition not using any Classname to access static members is not warned, as well as not using "this". (such warnings do not make much sense)
This will very likely not happen for 3.0 without external help.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.