Re: [cedet-semantic] Semantic Java parser issue with generic type class?
Brought to you by:
zappo
|
From: Eric M. L. <er...@si...> - 2010-05-26 22:29:44
|
Hi,
I don't know the answer here. I do know that generics are supported.
The SVN version of JDEE fiddles with the CEDET defaults to get some
level of generics support to do what they need. I don't know if anyone
has explicitly done work in this space and expects this to work.
Hopefully some folks who work with Java can provide some advice here?
Perhaps the JDEE mailing list?
Thanks
Eric
On 05/25/2010 07:19 PM, Kada Situ wrote:
> Hi,
> I am sorry if this issue has been addressed before, but otherwise I
> couldn't find it answered here or anywhere else (that might just mean my
> search skill isn't good enough, sorry again).
>
> I have experienced problems with Semantic when working on generics in my
> Java program (at least this is the case in my program). If my class has
> generic type, for example,
>
> public class Tree<V> {....
>
> semantic-ia-fast-jump would complaint that it could not find suitable
> jump point even if I point to a legit method call (I find this a bit
> frustrating, since I use this feature a lot).
> In JDEE class menu, I pretty much can't find anything for the Tree class.
>
> But the above issues don't occur if Tree is not defined as generic class.
>
> public class Tree{....
>
> Does anyone have this issue? I am wondering if the Java parser isn't
> correctly parsing Java 1.5 syntax, but then looking at the parser code
> in wisent-java.wy, it claims to be able to parse correct Java 1.5.
> Though, it could be the problem with other part other than the parser,
> it there a quick fix for this issue? If not, I would hope the next
> release would solve the problem.
>
> The cedet version I am using is the newest svn build, not the one that
> comes with emacs23.2.
> Thanks!
>
> --
> ___
> K.S
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
> cedet-semantic mailing list
> ced...@li...
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
|