class EnumGeneratorUtil {

    private EnumGeneratorUtil() {}

    /**
     * Returns the full name of the enum that will be generated for 
     * the specified column.
     * 
     * @param column    the column that should be implemented as an enum
     * @param injector  the injector used in the platform
     * @return          full name for the enum
     */
    public static String enumNameOf(Column column, Injector injector) {
        final TranslatorSupport<Table> support = new TranslatorSupport<>(injector, column.getParentOrThrow());
        final String shortName = support.namer().javaTypeName(column.getJavaName());

        return support.generatedEntityType().getTypeName() + "." + shortName;
    }
    
    /**
     * Returns a list of all the enum constants in a particular column.
     * The list is created each time this method is called and is therefore
     * safe to edit without affecting the column.
     * <p>
     * If no enum constants was specified in the column, an exception is
     * thrown.
     * 
     * @param column  the column to retrieve the constants from
     * @return        list of the constants
     */
    public static List<String> enumConstantsOf(Column column) {
        final Optional<String> ec = column.getEnumConstants();
        final String[] enumConstants = ec
                .orElseThrow(() -> new NoSuchElementException(
                        "Column '" + column.getId() +
                                "' in table '" + column.getParentOrThrow().getId() +
                                "' was marked as an enum but no enum constants was specified."
                ))
                .split(",");

        return Stream.of(enumConstants)
        .sorted()
        .collect(toList());
    }

    /**
     * Returns a stream of classes located inside the specified class. If the
     * specified class is {@code null}, then an empty stream is returned.
     *
     * @param entityClass  the class to look in (can be {code null})
     * @return             stream of classes
     */
    public static Stream<Class<?>> classesIn(Class<?> entityClass) {<FILL_FUNCTION_BODY>}

}

        if (entityClass == null) {
            return Stream.empty();
        } else {
            return Stream.concat(Stream.concat(Stream.of(entityClass.getDeclaredClasses()),
                Stream.of(entityClass.getSuperclass())
                    .flatMap(EnumGeneratorUtil::classesIn)
            ), Stream.of(entityClass.getInterfaces())
                .flatMap(EnumGeneratorUtil::classesIn)
            );
        }
    
<no_super_class>