code: public static Object get(final Any any, final int tangoType, final boolean asPrimitive) throws DevFailed {
          Object result = null;
          if (any != null) {
              try {
                  final Class<?> extractorClass = CLASS_MAP.get(tangoType);
                  if (extractorClass != null) { // command void
                      final Method method = extractorClass.getMethod("extract", Any.class);
                      result = method.invoke(null, any);
                  }
              } catch (final IllegalArgumentException e) {
                  throw DevFailedUtils.newDevFailed(e);
              } catch (final IllegalAccessException e) {
                  throw DevFailedUtils.newDevFailed(e);
              } catch (final InvocationTargetException e) {
                  throw DevFailedUtils.newDevFailed(e.getCause());
              } catch (final SecurityException e) {
                  throw DevFailedUtils.newDevFailed(e);
              } catch (final NoSuchMethodException e) {
                  throw DevFailedUtils.newDevFailed(e);
              }
              // convert to array of Object if necessary
              if (result != null && !asPrimitive) {
                  result = org.tango.utils.ArrayUtils.toObjectArray(result);
              }
          }
          return result;
      }
docs: Get value of an Any
  
  @param any
  @param tangoType
  @return The value
  @throws DevFailed