With the help from David I got completion to work for my C++ projects. Now I am moving to a java project and I seem to get new problems :-)

The culprit seems to be generics arguments such as:
interface My2 extends Comparable<My2>

In my code I can't do completion (cedet can't find My2) on My2, however if I remove "<My2>" everything works fine.

Here is a short example:
public class MyClass
{
  interface My1
  {
    void foo();  
  }

  interface My2 extends Comparable<My2>
  {
    void foo();
  }


  static public void main(String args[])
  {
    My1 my1;
    My2 my2;

    my1.
    //semantic-ia-complete-symbol-menu at my1 completes as expected and shows foo
    my2.
    //semantic-ia-complete-symbol-menu at my2 fails with
    //semantic-analyze-possible-completions-default: Cannot find types for `My2 my2'
    //the problem seems to be "<My2>"
  }
}

I am working on bzr edition of cedet, updated today to version 8643.

I tried to locate where the class is parsed in the cedet code (my current bet is lisp/cedet/cedet-java.el) but I feel that the learning curve is rather steep :-)

Any suggestions, help, fixes?

As a side-note for the interested: My real completion problem is that I can do completion on StringBuilder but not on String. The reason for this seems to be that String implements Comparable<String> and StringBuilder do not. If I remove "<String>" completion works again - like in my example above.

Thanks,
Jan