| resolvebinding always return null with using UIMA framework [message #1015936] |
Mon, 04 March 2013 05:29 |
Ray Wu Messages: 1 Registered: March 2013 |
Junior Member |
|
|
Hi all.
RIght now I'm using JDT to annotate java source code in UIMA framework.
In UIMA, for each document I want ot annotate, UIMA will initiate an annotator class for me.
In that class I could get source code in char[] form, with some other works I might be able to get source code path as well.
I know the reason that resolvebinding() always return null is because I use setSource(char[]) for ASTparser without setProject(IJavaProject) and setUnitName(String).
However, the only way I found to get IJavaProject and UnitName is importing those source codes to my project, which is impractical in my case.
Anyone know how to deal with this?
|
|
|
Powered by
FUDForum. Page generated in 0.01560 seconds