[forge-issues] [JBoss JIRA] (FORGE-1028) Add support in the Java Parser to resolve JDT bindings
Vineet Reynolds (JIRA)
jira-events at lists.jboss.org
Sat Jul 20 11:25:26 EDT 2013
Vineet Reynolds created FORGE-1028:
--------------------------------------
Summary: Add support in the Java Parser to resolve JDT bindings
Key: FORGE-1028
URL: https://issues.jboss.org/browse/FORGE-1028
Project: Forge
Issue Type: Feature Request
Components: Parsers / File Manipulation
Reporter: Vineet Reynolds
Eclipse JDT allows bindings to be resolved from an AST tree, provided that the compilation units are accessible. This allows for the bindings to be inspected at runtime. See the [setResolveBindings method|http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fjdt%2Fcore%2Fdom%2FASTParser.html&anchor=setResolveBindings%28boolean%29] in the Eclipse ASTParser API.
We do not provide the ASTParser with an {{IProject}} nor do we configure the {{Environment}}, thus resulting in an inability to resolve the bindings. This should preferably be done with the sources of the project dependencies and the project sources, so that we can retrieve the type information in the JavaParser. This may also help in resolving FORGE-773, although it still requires the sources to be available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list