class UIElementAnnotationReader {

    @Deprecated
    public static Supplier<?> getModelObjectSupplier(Object pmo, String modelObjectName) {
        try {
            return ModelObjects.supplierFor(pmo, modelObjectName);
        } catch (org.linkki.core.binding.descriptor.modelobject.ModelObjects.ModelObjectAnnotationException e) {
            throw new ModelObjectAnnotationException(e.getMessage());
        }
    }

    public  UIElementAnnotationReader(Class<?> annotatedClass);

}