@ Override public void visitCode ( Code obj ) { try { Method m = getMethod ( ) ; Type retType = m . getReturnType ( ) ; if ( "Ljava/lang/Boolean;" . equals ( retType . getSignature ( ) ) ) { stack . resetForMethodEntry ( this ) ; super . visitCode ( obj ) ; } } catch ( StopOpcodeParsingException e ) { // if the method was already reported } }
implements the visitor to filter out methods that don t return Boolean