Community
Participate
Working Groups
Content assist displays arg0, arg1, arg2, .. instead of real argument names. This doest not happen when we have a JAR with SRC attached. But anyway argument names should be read from byte code (JAR) and SRC must not be required for this. This bug was found on versions 3.3, 3.2 and 3.2.1.
Created attachment 55953 [details] Sceen shot of Eclipse "Auto Complete" feature Sceen shot of Eclipse "Auto Complete" feature -Eclipse JDK = JDK1.5.0_07 -Spring JAR was added to the project, but without SOURCE -no real argument names (just arg0, arg1, ...)
This bug should be closed invalid. If the Spring Jar doesn't contain source and/or javadoc attachment, the auto-complete functionality will just guess the names arg0..argN. The .class files do not contain argument names; they contain argument positions. It is not possible to calculate names for them in this case. However, I believe that there's an option (guess argument names?) when there's no source attached that just uses a guess on the class name.
> The .class files do not contain argument names; they contain argument > positions. It is not possible to calculate names for them in this case. > However, I believe that there's an option (guess argument names?) when there's > no source attached that just uses a guess on the class name. Hey man, are you kidding??? From what time .CLASS does NOT contain method names? Have you ever tried decompiling .CLASS files using JAD for example? Have you ever used more intellectual IDE that know parameter names from somewhere (do you think those IDE are guessing?). Have you ever read JVM Class file specification - http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html? Have you ever just looked inside of .CLASS file? If you still does not believe than what is the role of "configLocation" from the following fragment: " this DLorg/springframework/context/support/ClassPathXmlApplicationContext; configLocation Ljava/lang/String; " Respect,
who know.. probably you are right. Looks like I was wrong. Sorry, man. Anyway, could it be retrieved from javadoc annotations "/**@"?
Інвалід баг
Клоузед
Hm, but there is one more issue: when compiling with "javac -g" we'd have constructor parameter names embedded in .CLASS. Why Eclipse is not retrieving at least constructor argument names?
*** This bug has been marked as a duplicate of bug 102473 ***
Verified for 3.5M7 using I20090426-2000