public static void main(String[])
signature.
Additionally main methods located in anonymous or local classes are reported.
Anonymous and local classes do not have a fully qualified name and thus can't be run.
Such methods may be confusing, as methods named "main" are expected to be application entry points.
Example:
class Main {
void main(String[] args) {} // warning here because there are no "public static" modifiers
}
A quick-fix that renames such methods is available only in the editor.