Skip to content

Unify generation-side and rendering-side model families in the extracted model #350

Closed as not planned

Description

@igel-devin-ai

Subtask of #233 — closes the issue's core acceptance criterion.

The processor carries two ~90%-identical model families (BuilderDefinitionDto/FieldDto/... generation side vs. GenerationTargetClassDto/MethodDto/... rendering side), which drives Sonar's duplication gate. In the extracted simple-codegen model artifact, merge them into one neutral DTO set:

  • Single model describing classes, fields, methods, constructors, generics, annotations, javadoc.
  • BuilderToGenerationTypeMapper collapses into direct analysis→model mapping.
  • SonarCloud new-code Duplication no longer flags the parallel DTOs.

Activity

  1. AndreasIgel commented on Oct 23, 2026

    @AndreasIgel
    Collaborator

    This is the fundamental design to separate generic generation of classes from builder specific DTOs. Is fixed by the parent issue here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions