Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[core] Turn property descriptor util into an enum and enrich its interface #763
This is to ease the writing of UIs to edit properties for XPath rules specifically (eg the designer).
The current utility to maintain the mappings from XPath property type ids to property extractors (PropertyDescriptorUtil) gives out very little info on the descriptors that each type id build, which makes it necessary to hardcode behaviour in the designer. It would be more convenient for everyone to have an enum, instead of a bare map, the constants of which can be enriched with other relevant info.