MCPcopy Index your code
hub / github.com/apache/groovy / subMap

Method subMap

src/main/java/groovy/lang/MetaClassImpl.java:187–189  ·  view source on GitHub ↗
(Map<CachedClass, Map<String, MetaProperty>> map, CachedClass key)

Source from the content-addressed store, hash-verified

185 protected final MetaMethodIndex metaMethodIndex;
186
187 private static Map<String, MetaProperty> subMap(Map<CachedClass, Map<String, MetaProperty>> map, CachedClass key) {
188 return map.computeIfAbsent(key, k -> new LinkedHashMap<>());
189 }
190 private final Map<CachedClass, Map<String, MetaProperty>> classPropertyIndexForSuper = new ConcurrentHashMap<>();
191 private final Map<CachedClass, Map<String, MetaProperty>> classPropertyIndex = new ConcurrentHashMap<>();
192 private final Map<String, MetaProperty> staticPropertyIndex = new LinkedHashMap<>();

Callers 7

setUpPropertiesMethod · 0.95
inheritFieldsMethod · 0.95
addMetaBeanPropertyMethod · 0.95
addRecordPropertiesMethod · 0.95

Calls 1

computeIfAbsentMethod · 0.45

Tested by

no test coverage detected