Giter VIP home page Giter VIP logo

Comments (6)

borkdude avatar borkdude commented on August 23, 2024

I kind of figured it out. I need the overload and pass the boolean itf true:

(.visitMethodInsn v &op (util/class-desc cls)
                         mname (util/method-desc desc) true)

but this is currently not supported by insn. Could this be added?

from insn.

borkdude avatar borkdude commented on August 23, 2024

Btw, if you're open to adding this option, I could try a PR myself. It would be a nice opportunity to learn more about this library.

from insn.

jgpc42 avatar jgpc42 commented on August 23, 2024

Sorry for the late reply; I was away from the computer this weekend.

Thanks for bringing this deficiency to my attention. As you noted, this should be a trivial change and I'd be happy to add support for this.

Unless you'd rather send a PR, I'll include this feature along with upgrading the project to test against Clojure 1.11, which I've had on my todo list. I should have this done in the next day or two.

Thanks again.

from insn.

borkdude avatar borkdude commented on August 23, 2024

Oh, please go ahead :)

from insn.

jgpc42 avatar jgpc42 commented on August 23, 2024

I just pushed version 0.5.3 which includes support for the interface flag. Here's a test case adapted from this issue.

Let me know if you have any more issues. Thanks.

from insn.

borkdude avatar borkdude commented on August 23, 2024

Thanks a lot!

from insn.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.