[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-ui-dev] JDT javadoc HTML analyze?
|
See implementations of org.eclipse.jdt.core.IJavaElement#getAttachedJavadoc(IProgressMonitor).
Note that this is hack. We only parse
generated HTML to extract Javadoc for a method, field, or type. We don't
analyze the content of the generated Javadoc, since that would be doomed
to fail. Output from the javadoc.exe is unspecified and unstable. In general,
when you start thinking about parsing HTML, then you know you're on a bad
track.
For elements for which we have source,
we generate the Javadoc hover contents directly from the source, not using
the Javadoc tool. Internal implementation:
org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2#getHTMLContent(IMember,
boolean)
Markus
From:
| Sebastian Gnitkowitz <sebastian.gnitkowitz@xxxxxxxxxxxxxx>
|
To:
| jdt-ui-dev@xxxxxxxxxxx,
|
Date:
| 2013-04-19 10:06
|
Subject:
| [jdt-ui-dev] JDT javadoc HTML analyze? |
Hello there,
my name is Sebastian.
For my B Sc thesis I have to write an eclipse plugin. One
key point of my B Sc is the analyze of javadoc HTML files, to generate
a type environment.
In the jdt you create a mouse over window with some information
from the javadoc HTML, if the path to the javadoc is known. If it is possible,
I would like to use the same mechanism, to get some semantic information
from the HTML documents.
Can someone give me a hint, where I have to start with
the search?
Best regards,
Sebastian
--
--------------------------------
Gnitkowitz, Sebastian _______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev