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.
My suggestion: On Alt + Insert, when in a method with params, add option "null params check" to generate code like public myMethod( Object par1, Object par2 ){ // ---- Generated code: if( par1 == null ) throw new IllegalArgumentException("par1 must not be null."); if( par2 == null ) throw new IllegalArgumentException("par2 must not be null."); // ---- } Thanks for considering.