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

后端 未结 6 1605
面向向阳花
面向向阳花 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:42

    I solved this by going to preferences
    Java / Content Assist
    On this page under "Sorting and Filtering" I unchecked "Hide proposals not visible in the invocation context" now instead of seeing (arg0, arg1, arg2) etc in autocomplete I see (catalog, schemaPattern, tableNamePattern...)
    I am using Spring Tools Suite 3.7.2 which runs on the Eclipse Mars 4.5.1 platform.

提交回复
热议问题