I need to use the (analyzer) dart package to analyze dart code and extract dart variables static types to use in a plugin that i'm developing.
i tried to use dart analysis server API, but the server doesn't provide me with the information i want efficiently, it does it with very low performance which is critical for me.
what to do in this kind of situation?
- I want something like java ffi to call dart library code.
- i'm developing an intellij idea plugin using (java) for (dart).
- i want to develop a package in dart language to analyze dart code and return some kind of information.
- i want to use returned information in my plugin.
the problem is i can't figure out a work around to use dart package in a plugin written in java.
Note: if i can get access to dart analysis server API source code my problem is solved. because i can extract the behaviour i need from it and make it perform great in my case. it is possible?