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)
请先登录再写评论。
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