I'm creating Eclipse plugin that is listening on a socket and allows to:
- open a java class at selected line
- get the java class source code as String, InputStream or other
I have package and class name, line number and file name.
How can I open the java class in eclipse with plugin and get class source?