code: @Override
      public MethodVisitor visitMethod(int access, String name, String desc, String signature, String exceptions[]) {
          if (scanPolicyIsExternal() || !isDetailEnabled()) {
              visitEnd();
              throw VISIT_ENDED_DETAIL;
          }
  
          return methodVisitor;
      }
docs: visiting the method.