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
feat:Spoon agent #2645
feat:Spoon agent #2645
Conversation
…, and add read default profile if it exists to get source version
…mposed of the concatenation of a string and another property
This is a pretty neat and unconventional usage of Spoon, I like it :-) |
I think it may have an enormous potential of practical uses! |
Currently this only includes a WDYT? |
File cache; | ||
Set<String> classPath; | ||
public Decompiler decompiler; | ||
Set<File> inputSources; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess all the members above should be private or at least protected. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes definitly.
Nice idea! I have few comments to design. Actually client has to
May be it would be nicer if
Then all the implementation can be done by lambda expressions |
@pvojtechovsky Seems like good ideas. I'll try to implement them. |
Thanks a lot for this potentially game-changing PR. |
With the help of
IncrementalLauncher
andDecompiler
, we can propose an abstraction of java standardClassFileTransformer
interface that let an user define Spoon transformations applied on bytecode at load time.Every time a class is loaded: