'Is there a way to generate a constructor with the default values in it already?
Let's say I have a class with variables that I have initialized just after the declarations in the Class scope.
Is there a shortcut or plugin to generate a constructor that sets all the values to their initial initializations or original values set in the class scope, without manually entering them?
I realize that just reinitializing the class should do it, but I need a method for a specific use case.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
