Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Reuse JDT's inline feature(Using org.eclipse.jdt.core to reuse the JDT's inline feature)
Reuse JDT's inline feature [message #1850574] Tue, 08 March 2022 17:51
Seham Alharbi is currently offline Seham AlharbiFriend
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.
Previous Topic:MQTT Client as input to Nebula Meter?
Next Topic:Error occurred during initialization of boot layer
Goto Forum:
  


Current Time: Fri Apr 26 20:26:48 GMT 2024

Powered by FUDForum. Page generated in 0.03060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top