make method not static suggested as intention for unknown method

public static void main() {
Vector v = new Vector();
v.doTheNewMethod();
}

alt-enter on doTheNewMethod suggests "make main not static"
(sure, because you cannot create the method in Vector)

1 comment
Comment actions Permalink

I have such useless suggestions in other situations as well, but was too
lazy to invest half an hour to create a small example...

Tom

0

Please sign in to leave a comment.