Success in creating the Java DUChain

Jakob Petsovits jpetso at gmx.at
Fri Jun 6 10:34:20 UTC 2008


On Monday, 2. June 2008, Hamish Rodda wrote:
> However, if anyone knows kdev-pg and wants
> to figure out why non-constructor methods don't have their method bodies
> parsed, that would be great...

So, I finally checked it out, and firstly,

*whoo*!

and as for the method bodies, sorry - those are indeed parsed here.
Attached are the t001.java file from the tests/ directory and the relevant 
debug output (chain dump). Lots of variables seem to be incorrectly stored as 
integer types by the DUChain, but apart from that everything's in there.

(I also tried with t003.java, and all the scopes and declarations are created 
successfully too there.)

Wondering why it doesn't work for you,
  Jakob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t001.java
Type: text/x-java
Size: 365 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080606/f05f6d16/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-stderr-t001.txt.gz
Type: application/x-gzip
Size: 6280 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080606/f05f6d16/attachment.gz>


More information about the KDevelop-devel mailing list