From 4724ed4636caf25f70c7f0e99c4c4f0f4d040a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Sat, 25 Nov 2017 16:15:42 +0100 Subject: [PATCH] Expose the full mappings in property descriptor util --- .../pmd/properties/PropertyDescriptorUtil.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyDescriptorUtil.java b/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyDescriptorUtil.java index 33717da7a0..f58ed36cea 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyDescriptorUtil.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyDescriptorUtil.java @@ -56,6 +56,16 @@ public class PropertyDescriptorUtil { private PropertyDescriptorUtil() { } + + /** + * Returns the full mappings from type ids to extractors. + * + * @return The full mapping. + */ + public static Map> typeIdsToExtractors() { + return DESCRIPTOR_FACTORIES_BY_TYPE; + } + /** * Gets the factory for the descriptor identified by the string id.