Eclipse Getters Setters Syntax Changes

Is it possible to get eclipse to generate GetVar1 () instead of getVar1 ()? (with capital G)

+3
source share
2 answers

I highly doubt it, as it violates both the usual Java naming conventions for methods and the JavaBeans property rules.

I would highly recommend that you abide by the Java naming conventions. Why do you want your code to look incompatible with all other Java libraries, including the standard library?

+18
source

This is not possible because Eclipse follows the Java naming conventions for generating getters and setters.

+1
source

All Articles