GithubHelp home page GithubHelp logo

Comments (5)

thunderhook avatar thunderhook commented on June 13, 2024

It is possible, take a look at this official sample code.

from mapstruct-idea.

filiphr avatar filiphr commented on June 13, 2024

Thanks for the tip @thunderhook, I will have a look at it and see if we can do something about it.

from mapstruct-idea.

filiphr avatar filiphr commented on June 13, 2024

Btw, if you are interested in working on the plugin you can also provide a PR for this support 😉

from mapstruct-idea.

thunderhook avatar thunderhook commented on June 13, 2024

I'm sorry about my overhasty post about the sample code. That's just a sample to implement a quick-fix. After checking out the source I recognized that quick-fixes are already implemented, so there is nothing new for you to see here.

I tried to dig inside a little bit, but I have no experience in IntelliJ SDK, but I'll try my best if I find time.

from mapstruct-idea.

thunderhook avatar thunderhook commented on June 13, 2024

Yesterday I took some time to figure out how to get to the messages the annotation provider delivers.
In previous versions it had been able to use a ClassPostProcessingCompiler but it is now deprecated, reffering to this site.

I tried to provide a custom BuildTargetScopeProvider but this is only called before the annotation processor generates the code. I also tried to hook into some phase where the messages are delivered to the CompileContext, but I had no luck for now. I'll try again in about a week.

from mapstruct-idea.

Related Issues (20)

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.