Skip to content

docs: document all-uppercase acronym transformation#1810

Merged
pwrobeldev merged 2 commits into
heremaps:masterfrom
isidorowiczdev:name_rules
Jul 8, 2026
Merged

docs: document all-uppercase acronym transformation#1810
pwrobeldev merged 2 commits into
heremaps:masterfrom
isidorowiczdev:name_rules

Conversation

@isidorowiczdev

@isidorowiczdev isidorowiczdev commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Uppercase acronyms in name transformation

Problem: All-uppercase acronyms like FACTORY are converted to mixed case (Factory) when transformed to camelCase format. This limitation affects users defining single-word uppercase identifiers in LIME.

Solution: Documented the behavior with:

  • Root cause: Recognition logic treats all-uppercase single words as generic strings, not recognized patterns
  • Workaround: Platform-specific Name attributes override transformation rules completely
    • @Java(Name = "FACTORY"), @Kotlin(Name = "FACTORY"), @Swift(Name = "FACTORY"), @Dart("FACTORY")

Signed-off-by: Iwo Sidorowicz <294463459+isidorowiczdev@users.noreply.github.com>
Signed-off-by: Iwo Sidorowicz <294463459+isidorowiczdev@users.noreply.github.com>
@pwrobeldev
pwrobeldev self-requested a review July 8, 2026 10:13

@pwrobeldev pwrobeldev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pwrobeldev
pwrobeldev merged commit 51f45bd into heremaps:master Jul 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants