Community
Participate
Working Groups
3.1 get this zip http://prdownloads.sourceforge.net/jggapi/jggapi-1.0.1-bin.zip?download extract the jar file from it and put on build path open the class file editor for LoginContext. Look at constructor. You see that both parameter names are known: uin, password Now, try completing: new LoginContext(<CODEASSIST> you get 2 not informative parameter hints: arg0, arg1 I seem to remember this worked before. It's either a code assist problem or a settings problem. It should work out of the box.
Do you have a source attachment to this jar?
No source attachment should be needed here for the names of parameters. They are contained in the debug info. I see them when I open the classfile editor. For reference, the sources are available here: http://sourceforge.net/project/showfiles.php?group_id=79198 It's version 1.0.1.
I'll investigate current behavior.
We never looked for arguments names inside debug attribute. I'll see if this can be added without a major hit on performance.
Created attachment 59172 [details] Proposed fix
Created attachment 59173 [details] Regression tests
Philippe, Let me know if you are interested by such a support. It doesn't seem to have an noticeable impact on performances. Frédéric, Could you please run the performance tests with this patch? Thanks.
Adam, Note that this implies the library to be compiled with local variable table attribute. By default this attribute is not provided. However in the library that you refer to, they are included.
(In reply to comment #7) > Frédéric, > > Could you please run the performance tests with this patch? > Thanks. > Performance tests are OK with this patch...
Released for 3.3M6
Regression tests added in org.eclipse.jdt.core.tests.compiler.regression.ClassFileReaderTest_1_4#test078/080
Verified for 3.3 M6 using build I20070320-0010
*** Bug 168657 has been marked as a duplicate of this bug. ***