Summary: | API request: Need an efficient way to get the ISourceRange of IMethod's return type | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Min Idzelis <min123> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | amj87.iitr, Olivier_Thomann, philippe_mulet, srikanth_sankaran |
Version: | 3.5 | ||
Target Milestone: | 3.6 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Min Idzelis
2008-11-13 15:43:02 EST
Note that you can create a lightweight DOM AST (without statements), performance is not so bad then. (In reply to comment #1) > Note that you can create a lightweight DOM AST (without statements), > performance is not so bad then. > Can this be done using public API? DOM AST is public API. Pls read this: http://help.eclipse.org/stable/topic/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/dom/ASTParser.html#setFocalPosition(int) Is this still required ? (In reply to comment #5) > Is this still required ? The technique mentioned in comment 4 seem adequate. This bug can be closed. Thanks. Can be done using existing APIs. See comment 4. Closing as INVALID. verified for 3.6M5. Verified. |