Skip to content

Conversation

@tal5
Copy link
Contributor

@tal5 tal5 commented Aug 7, 2025

See Discord discussion.

Makes ComponentBuilder and Style.Builder implement StyleGetter, allowing access to set values before building.
The style builder holds the actual implementation, and the component builder simply redirects StyleGetter methods to its style builder.

For the JD, I used {@inheritDoc} with a changed @since tag to 4.25.0 - this does mean that the JD sometimes refers to itself as e.g. stylable instead of component, but imo I don't think that's a big deal compared to how much cleaner the JD is (also see Discord discussion).

I put all of the getters right above their setters as that seemed to be the convention, but let me know if you'd prefer having them all in one place for less adventure 5.0 merge conflicts.
image

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.

1 participant