Re: api-docs with java5

Curtis Fonger <[email protected]> Tue, 5 Sep 2006 19:57:42 -0400
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
Hello,
I've also noticed that syntax highlighting and code-completion  
doesn't work with generics either.  For example, if I do something like:

List<String> myList = new ArrayList<String>();

and then I try to do code completion with looking up the available  
methods for myList (for example, in making an iterator) by typing  
"myList." and then C-c C-v C-. which doesn't work.  However, when I  
remove the generics (removing <String> everywhere), code completion  
works again.

Just wanted to see if this is a known problem (or if I'm just doing  
something wrong).

Until next time,
-Curtis


On Sep 5, 2006, at 7:54 PM, Ernst Reissner wrote:

> Hello everyone,
> i have a problem with generating api-docs with C-c C-v j:
>
> Completions of api-docs of methods misses parameters with generic  
> type:
> This is wrong,
> /**
>      * Creates a new <code>DummyFPArg</code> instance.
>      *
>      * @param numArgsAdd an <code>int</code> value
>      * @param sign an <code>int</code> value
>      */
>     DummyFPArg(int numArgsAdd, List<MNumber> addends, int sign) {
>
> whereas this works:
>     /**
>      * Creates a new <code>DummyFPArg</code> instance.
>      *
>      * @param numArgsAdd an <code>int</code> value
>      * @param addends a <code>List</code> value
>      * @param sign an <code>int</code> value
>      */
>     DummyFPArg(int numArgsAdd, List addends, int sign) {
>
>
> Bugfix would be nice.
>
>
> greetings
>
> ernst
>