I want to write an eclipse plugin for PHP files. For a java file we do this
final IWorkingCopyManager manager = JavaUI.getWorkingCopyManager();
and from the open editor, we get the ICompilationUnit object and from
that we get all the methods,fields etc present in that java file.
How can i do the same kind of thing for a PHP file.