Refactor GeneratedTOBuilderImpl
This builder is used at both runtime and codegen-time and it captures
information irrelevant to runtime, leading to bloat.
Refactor this class into three classes:
- AbstractGeneratedTypeBuilder for common information
- CodegenGeneratedTOBuilder common + codegen information
- RuntimeGeneratedTOBuilder throwing UnsupportedOperationException
for codegen information
JIRA: MDSAL-315
Change-Id: Ie1d3d075590334cb5b8ce41c059ac2e10cf02d56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
636ac0055012e2ee436d5526a95640c6df35e46a)