Description
Current design of CgSpringVariableConstructor is bad.
The following action is repeated three times for different annotations:
- we try to find a variable
- if variable is already created, use some custom fields construction
We can possibly implement some kind of Map<Annotation, ProcessingDelegate> and iterate by it.
Description
Current design of
CgSpringVariableConstructoris bad.The following action is repeated three times for different annotations:
We can possibly implement some kind of Map<Annotation, ProcessingDelegate> and iterate by it.