private Object getValueFromField(Field field, Object object) {
        try {
            return field.get(object);
        } catch (IllegalAccessException e) {
            throw new PlcRuntimeException(e);
        }
    }
Returns a connected proxy.

@param clazz clazz to be connected.
@param <T>   type of param {@code clazz}.
@return a connected entity.
@throws OPMException when proxy can't be built.
plc4j/tools/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityManager.java