i'm not sure if this has been asked before. I've got a class that has all of the variables i want to use in my project(30 fields) and i have many other classes based on it, however, i want to disable specific getters in some and specific setters in others. I'm currently thinking about overriding each setter/getter for each field manually and setting return to null or something like that, but that'd still show the getter/setter, which isn't supposed to happen.
If you have any insights please let me know.