private void processNullLayouts ( String className , String methodName ) { if ( "java/awt/Container" . equals ( className ) && "setLayout" . equals ( methodName ) && ( stack . getStackDepth ( ) > 0 ) && stack . getStackItem ( 0 ) . isNull ( ) ) { bugReporter . reportBug ( new BugInstance ( this , BugType . S508C_NULL_LAYOUT . name ( ) , NORMAL_PRIORITY ) . addClass ( this ) . addMethod ( this ) . addSourceLine ( this ) ) ; } }
looks for containers where a null layout is installed