void setRelationMaps( final Map<String, ClassData> usesMap, final Map<String, ClassData> extendsMap) { this.usesMap.putAll(usesMap); this.extendsMap.putAll(extendsMap); for (final ClassData usedClass : usesMap.values()) { usedClass.registerUse(this); } for (final ClassData extendedClass : extendsMap.values()) { extendedClass.registerExtend(this); } }
private void registerExtend(final ClassData cData) { this.extendedByMap.put(cData.getClassName(), cData); }
private void registerUse(final ClassData cData) { this.usedByMap.put(cData.getClassName(), cData); }