code: @SuppressWarnings("unchecked")
      @Override
      public <T> T[] asArrayOf(final Class<T> componentType) {
          Class<?> callerClass = ReflectionHelper.getDirectCallerClass();
          List<T> list = evaluateMultiValues(componentType, callerClass);
          return list.toArray((T[]) java.lang.reflect.Array.newInstance(componentType, list.size()));
      }
docs: Evaluate the XPath as an array of the given type.
  
  @param componentType
  Possible values: primitive types (e.g. Short.Type), Projection interfaces, any
  class with a String constructor or a String factory method, and org.w3c.Node
  @return an array of return type that reflects the evaluation result.