class UIElementAnnotationReader {

    public Stream<PropertyElementDescriptors> getUiElements() {
        validateNoDuplicatePosition();
        return descriptorsByProperty.values().stream()
                .filter(PropertyElementDescriptors::isNotEmpty)
                .sorted(Comparator.comparing(PropertyElementDescriptors::getPosition));
    }

    public  UIElementAnnotationReader(Class<?> annotatedClass);

}