This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
private void blah() { System.out.println(5); } If you introduce a method on the println, the sub-method is not static. However: private static void blah() { System.out.println(5); } If you introduce a method on the println, the sub-method is static.
OK, could be an option (with remembered preset value from the last time) if the code does not contain `this' reference.