Skip to content

rd-gen: Delegate marshaller's write to class's method#587

Merged
Iliya-usov merged 1 commit intoJetBrains:masterfrom
khbminus:khbminus/fix-protected-write
Feb 4, 2026
Merged

rd-gen: Delegate marshaller's write to class's method#587
Iliya-usov merged 1 commit intoJetBrains:masterfrom
khbminus:khbminus/fix-protected-write

Conversation

@khbminus
Copy link
Contributor

@khbminus khbminus commented Feb 2, 2026

After unembedding generated models for RemDev and Rider, according to 5.4.4 (Access Control) of JVM Specification, protected properties of core models will not be available in a companion object of the inherited models in the other packages (e.g. TextControlModel and RiderLightweightTextControlModel). Previously, it was considered as "same run-time package".

This commit puts the write method implementation in the class to allow accessing protected field and methods

After unembedding generated models for RemDev and Rider, according to 5.4.4 (Access Control) of JVM Specification, protected properties of core models will not be available in companion object of the inherited models in the other packages (e.g. `TextControlModel` and `RiderLightweightTextControlModel`). Previously, it was considered as "same run-time package".

This commit puts the `write` method implementation in the class to allow accessing protected field and methods
@khbminus khbminus force-pushed the khbminus/fix-protected-write branch from 1d40207 to 4607cf0 Compare February 2, 2026 18:09
@ForNeVeR ForNeVeR self-requested a review February 2, 2026 18:24
@ForNeVeR ForNeVeR requested a review from Iliya-usov February 2, 2026 19:14
@Iliya-usov Iliya-usov merged commit 91bc1a8 into JetBrains:master Feb 4, 2026
11 of 12 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.

3 participants