Merge branch 'pr-758'

This commit is contained in:
Andreas Dangel
2017-11-27 20:55:42 +01:00
2 changed files with 11 additions and 0 deletions

View File

@ -552,4 +552,5 @@ a warning will now be produced suggesting users to adopt it for better performan
* [#744](https://github.com/pmd/pmd/pull/744): \[doc] Added Apex to supported languages - [Michał Kuliński](https://github.com/coola)
* [#746](https://github.com/pmd/pmd/pull/746): \[doc] Fix typo in incremental analysis log message - [Clément Fournier](https://github.com/oowekyala)
* [#749](https://github.com/pmd/pmd/pull/749): \[doc] Update the documentation for properties - [Clément Fournier](https://github.com/oowekyala)
* [#758](https://github.com/pmd/pmd/pull/758): \[core] Expose the full mapping from property type id to property extractor - [Clément Fournier](https://github.com/oowekyala)

View File

@ -57,6 +57,16 @@ public class PropertyDescriptorUtil {
}
/**
* Returns the full mappings from type ids to extractors.
*
* @return The full mapping.
*/
public static Map<String, PropertyDescriptorExternalBuilder<?>> typeIdsToExtractors() {
return DESCRIPTOR_FACTORIES_BY_TYPE;
}
/**
* Gets the factory for the descriptor identified by the string id.
*