Skip to content

Refactor CgSpringVariableConstructor #2326

Closed
@EgorkaKulikov

Description

@EgorkaKulikov

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.

Metadata

Metadata

Assignees

Labels

comp-codegenIssue is related to code generatorcomp-springIssue is related to Spring projects supportctg-refactoringIssue related to refactoring process

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions