Your comment is entirely specific to C#. Java has no such shortcuts, its setters and getters look identical to how they looked in 1994:
private int id;
public void setId(int id) {
this.id = id;
}
public int getId() {
return id;
}
Switching to a functional language won't save your monitor, you'll still be forced to write bad code if doing stupid things like that are in your style guide.