re-initialize the static variables of a class to their original values java
I have a class that has a fair amount of static variables, not all of which are initialized to their default values (e.g. I have a boolean I initialize to true, a Set<Integer> I initialize to a new Set<Integer>(), etc.). This class is somewhat like a controller, that operates on other classes. After it's done operating on a class, I'd like to reinitialize all of its static variables to their original values using (if it exists) something that's a part of the java API, so that I don't have to make a "reinitializeClassVariables()" method with about a dozen variables in it that would need to be updated every time I make any changes to the static variables declared in the class. Any ideas?
re-initialize the static variables of a class to their original values java
===

I have a class that has a fair amount of static variables, not all of which are initialized to their default values (e.g. I have a boolean I initialize to true, a Set<Integer> I initialize to a new Set<Integer>(), etc.). This class is somewhat like a controller, that operates on other classes. After it's done operating on a class, I'd like to reinitialize all of its static variables to their original values using (if it exists) something that's a part of the java API, so that I don't have to make a "reinitializeClassVariables()" method with about a dozen variables in it that would need to be updated every time I make any changes to the static variables declared in the class. Any ideas?