-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion : Does Spoon provides any support for these features ? #3774
Comments
Hi @udit-dasari, the documentation provides a good overview of features in Spoon. The Navigation and Query section describes many ways to query ASTs, including filtering based on the element type. For control and data flow analysis there is the spoon-control-flow package. If by support for binaries you mean transformation or analysis of class files, there is the spoon-decompiler package. There are several kinds of support available for your project, including this forum and professional support. The question of future maintenance I'm passing on to @monperrus. |
We all hope so. We've been able to maintain it for 16 years already. |
Hi @andrewbwogi , is there any way i can :
|
When To get properties of an element through a single interface, you can use getValueByRole. It takes a CtRole (e.g. |
@andrewbwogi It is mentioned on the website that spoon uses either JVM or sourceClassPath to resolve, the NoClassPath mode merely prevents it from throwing exceptions in case a resolution is not found, it does not prevent spoon from using the classes currently loaded in the JVM:
https://spoon.gforge.inria.fr/launcher.html under |
@iamKunalGupta, it seems true that the JVM classpath is used even with |
@andrewbwogi, yes, even when i use |
@monperrus do you think in the near future Spoon would address the following gaps?
There are so many tools in the JVM ecosystem and yet there is no tool that works reliably, is well-maintained, and has ok enough documentation. Alternately, could you point me to any tool/library resource that can generate control flow and data flow effectively for JDK8+ code? |
Hi @nashid See:
For def-use, nothing comes on the top of my head. |
Closing, thanks. |
Hi, i and my team want to know more about the various features that Spoon may support, so we came up with some requirements for our project :
Can you please confirm the support for above features ?
The text was updated successfully, but these errors were encountered: