Community
Participate
Working Groups
Convert all methods on a class to static methods if they don't refere to any non-static fields/methods.
agreed that this would be useful, but we can't commit to do it for 2.0
We should also convert the call to that method to something like class.method(). 2.1 candidate
[refactoring]
*** Bug 24288 has been marked as a duplicate of this bug. ***
Chaning state from assigned later to resolved later. Assigned later got introduced by the last bug conversion and is not a supported Eclipse bug state.
*** Bug 118032 has been marked as a duplicate of this bug. ***
dup of bug 118032
*** This bug has been marked as a duplicate of bug 118032 ***
Not a dup of bug 118032.
This would better be implemented as a Clean Up, since it does not refactor much (only analyzes and adds a modifier). E.g. Code Style > Method declarations > Use modifier 'static' where possible.
>This would better be implemented as a Clean Up I was thinking of that too but came too the conclusion that it is more than a clean up since it really changes the class (not just applying different style) and also affects runtime behavior in case someone overrode the instance method.
*** Bug 338449 has been marked as a duplicate of this bug. ***
IDEA can handle the case, too, where the method refers to non-static members: they are passed as parameters.
(In reply to comment #14) > IDEA can handle the case, too, where the method refers to non-static members: > they are passed as parameters. That's bug 118032.
*** Bug 483995 has been marked as a duplicate of this bug. ***