Why eclipse is generating argument names as arg0,arg1,arg2… for methods?

后端 未结 6 1611
面向向阳花
面向向阳花 2020-12-09 15:40

When I try to access some class\'s method; eclipse gets that method but arguments inside that method are replaced by arg0, arg1, arg2...

Example:-

Suppose I

6条回答
  •  悲哀的现实
    2020-12-09 15:52

    for those like me who tried to apply one of our colleagues suggestions and unfortunately hasn't worked, please, give a try to check the option "Add variable attributes to generated class files (used by the debugger)" within Window -> Preferences -> Java + Compiler.

    Once you've done that, try to build the project again.

    Cheers.

提交回复
热议问题