@Override public TypeInformation<?> getComponentType() { Type componentType = type.getGenericComponentType(); return createInfo(componentType); } }
@Override @SuppressWarnings("unchecked") public Class<S> getType() { return (Class<S>) Array.newInstance(resolveType(type.getGenericComponentType()), 0).getClass(); }
return new GenericArrayTypeInformation((GenericArrayType) fieldType, this);
return new GenericArrayTypeInformation((GenericArrayType) fieldType, this);
@Override @Nonnull protected TypeInformation<?> doGetComponentType() { Type componentType = type.getGenericComponentType(); return createInfo(componentType); }
@Override @SuppressWarnings("unchecked") public Class<S> getType() { return (Class<S>) Array.newInstance(resolveType(type.getGenericComponentType()), 0).getClass(); }