Community
Participate
Working Groups
We need an opened API for a replacement Java editor to determine the associated source for Java class files. Currently, I have to use the internal imports: 1. org.eclipse.jdt.internal.ui.javaeditor.IClassFileEditorInput 2. org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput
Why don't you use getSource() on the org.eclipse.jdt.core.IClassFile?
This is the official API to do so. Closing. Please reopen if you found some issue with it.