Builds class rename rules from the rename map entries and optional subclass map.
Two sources of rules are combined:
Explicit subclass rules (from subclassMap): hand-curated old→new mappings
that handle both prefix and suffix changes (e.g., ActionEntityServerEntity →
MJActionEntityServer). These cover all known extended, server, and Angular
form subclasses.
Auto-generated suffix rules (from entries): for each entry with
classNameChanged=true, creates regex rules for CodeGen-generated artifacts:
EntityType (zod inferred type)
Schema (zod schema constant)
Entity (base class name)
Uses negative lookbehind for / and . to avoid matching inside file paths.
Builds class rename rules from the rename map entries and optional subclass map.
Two sources of rules are combined:
Explicit subclass rules (from
subclassMap): hand-curated old→new mappings that handle both prefix and suffix changes (e.g.,ActionEntityServerEntity→MJActionEntityServer). These cover all known extended, server, and Angular form subclasses.Auto-generated suffix rules (from
entries): for each entry with classNameChanged=true, creates regex rules for CodeGen-generated artifacts:EntityType(zod inferred type)Schema(zod schema constant)Entity(base class name)Uses negative lookbehind for / and . to avoid matching inside file paths.