code: @Override
    public MethodVisitor visitMethod(
        final int access,
        final String name,
        final String desc,
        final String signature,
        final String[] exceptions) {
      MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
      return new CodeSizeEvaluator(mv) {
        @Override
        public void visitEnd() {
          super.visitEnd();
          if (getMaxSize() > 64 * 1024) {
            state = State.FAIL_TOO_LONG;
            message = "the method " + name + " was too long.";
          }
        }
      };
    }
docs: {@inheritDoc}
  
  <p>In addition, the returned {@link org.objectweb.asm.MethodVisitor} will throw an exception if
  the method is greater than 64K in length.