Java – change eclipse getters setters syntax

Is it possible for eclipse to generate getvar1 () instead of getvar1 ()? (with capital g)

Solution

I doubt it very much because it breaks the conventional Java Naming Convention of methods and JavaBeans property rules

I strongly recommend that you follow the Java Naming Convention Why make the code look inconsistent with all other Java libraries, including the standard library?

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>