public void extendTypes() {
        for (EntityType entityType : entityTypeCache.values()) {
            if (entityType.getProperties().isEmpty()) {
                for (Map.Entry<List<String>, EntityType> entry : entityTypeCache.entrySet()) {
                    if (entry.getKey().get(0).equals(entityType.getFullName()) &&
                        !entry.getValue().getProperties().isEmpty()) {
                        for (Property property : entry.getValue().getProperties()) {
                            entityType.addProperty(property);
                        }
                        break;
                    }
                }
            }
        }
    }
{@code ExtendedTypeFactory} is a factory for APT-based inspection {@link Type} creation

@author tiwe
querydsl-apt/src/main/java/com/querydsl/apt/ExtendedTypeFactory.java