Java is so verbose, the class would be comically large for even a few rows of data... it's really not for data storage.
I wonder if a better solution would be to generate a class for the data with getters, setters, constructor / initializer, but actually have the data generated in a data-centric format, like JSON.
Or even have it generate two files:
one JSON one for the data,
one java file for the class + reading from the JSON file.
Java is so verbose, the class would be comically large for even a few rows of data... it's really not for data storage.
I wonder if a better solution would be to generate a class for the data with getters, setters, constructor / initializer, but actually have the data generated in a data-centric format, like JSON.
Or even have it generate two files: