code: @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
          }
      }
docs: implements the visitor to filter out methods that don't return Boolean,
  
  
  @param obj
  the context object for the currently parsed code block