> I like this approach...because it applies the CSS notion of a "class" in a > Java-centric manner: the actual Java class lives in > /org/apache/pivot/wtk/PushButton.class, and the style "class" for that class > lives in /org/apache/pivot/wtk/PushButton.json.
FYI, this was also the thinking behind the existing means of applying styles via URL: <PushButton styles="@my_button_styles.json"/> In CSS terms, "my_button_styles" effectively defines an untyped selector. So the suggested approach is also conceptually consistent with the current design.