| Summary: | Need to be able to get getJavadocRange() for a packages | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | manju656, markus.kell.r, nbeyer, srikanth_sankaran |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dani Megert
Note: getJavadocRange() is currently implemented defined on IMember. This might also be needed for IImportDeclaration. > This might also be needed for IImportDeclaration.
Nope, import declarations don't have Javadoc.
While IPackageDeclaration#getJavadocRange() would be nice, I think the blocked bugs can also be fixed without this. In the end, we anyway create an AST (without bindings) in JavadocContentAccess2#getJavadocNode(IMember, String). For package-info.java the AST won't be much larger than the Javadoc, so we can also just create the AST on the whole CU and get the Javadoc node from the AST.
We did not need this. |