|RefactoringCore.getRefactoringContribution(IJavaRefactorings.MOVE) returning NULL [message #1468450]
||Mon, 10 November 2014 21:32
| Devashi Tandon
Registered: November 2014
I am trying to refactor a Java Project using Eclipse JDT plugin. The plugin will move a class file from one package to another package. |
I have added the org.eclipse.jdt.core.manipulation plugin dependency in our plugin but the method call to getRefactoringContribution is still returning NULL. The following code is being used
RefactoringContribution contribution =
MoveDescriptor descriptor= (MoveDescriptor) contribution.createDescriptor();
In the above code, contribution object is always null when the id passed to it is from IJavaRefactorings.
Please help me to figure out what configuration setting I could be missing or if the issue could be occurring somewhere else.
Powered by FUDForum
. Page generated in 0.01937 seconds