-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorcomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-refactoringIssue related to refactoring processIssue related to refactoring process
Description
Description
Right now CgSpringVariableConstructor
seems to be responsible for both:
- handling Spring-specific types of models;
- replacing some variables with fields.
The latter of its responsibilities isn't Spring-specific and I think should be extracted to separate decorator of VariableConstructor
.
Potential alternatives
Instead of decorating VariableConstructor
we can make its constructor accept VariableConstructorContext
and decorate VariableConstructorContext
instead, which may be easier given the recursive nature of the VariableConstructor
that is hard to combine with decorators.
Metadata
Metadata
Assignees
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorcomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-refactoringIssue related to refactoring processIssue related to refactoring process
Type
Projects
Status
Todo