private void processSetSizeOps ( String methodName ) throws ClassNotFoundException { if ( "setSize" . equals ( methodName ) ) { int argCount = SignatureUtils . getNumParameters ( getSigConstantOperand ( ) ) ; if ( ( windowClass != null ) && ( stack . getStackDepth ( ) > argCount ) ) { OpcodeStack . Item item = stack . getStackItem ( argCount ) ; JavaClass cls = item . getJavaClass ( ) ; if ( ( cls != null ) && cls . instanceOf ( windowClass ) ) { bugReporter . reportBug ( new BugInstance ( this , BugType . S508C_NO_SETSIZE . name ( ) , NORMAL_PRIORITY ) . addClass ( this ) . addMethod ( this ) . addSourceLine ( this ) ) ; } } } }
looks for calls to setSize on components rather than letting the layout manager set them