Is there a better standard way to create getters and setters in Java?
It is quite verbose to have to explicitly define getters and setters for each variable. Is there a better standard annotations approach?
Does Spring have something like this?
Even C# has properties.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…