Reuse JDT's inline feature [message #1850574] |
Tue, 08 March 2022 17:51 |
Seham Alharbi Messages: 1 Registered: March 2022 |
Junior Member |
|
|
Hello,
I am new to org.eclipse.jdt.core, and I would like to use it in my project to reuse the refactor-> inline feature. So for example, if I have several method bodies in a source file and I want them to be automatically embedded/inlined to where they are called by using the tool I am building.
Where to start from to reuse such a feature?
any suggestions?
I have found the following packages and classes:
org.eclipse.jdt.core.refactoring
org.eclipse.jdt.core.refactoring.descriptors
org.eclipse.jdt.core.refactoring.descriptors.InlineMethodDescriptor
org.eclipse.jdt.core.refactoring.CompilationUnitChange
And do not know which one to go with as a starting point to reuse such a feature? Any resources or simple code examples of how to use these APIs would really be useful.
Thank you.
|
|
|
Powered by
FUDForum. Page generated in 0.03060 seconds