GenericType { public final Class<?> getRawType() { return rawType; } protected  GenericType();  GenericType(Type genericType); static GenericType forInstance(final Object instance); final Type getType(); final Class<?> getRawType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testGenericTypeOfArray() { assertEquals(List[].class, new GenericType<List<String>[]>() { }.getRawType()); }
@Test public void testGenericTypeOfNonGenericArray() { assertEquals(String[].class, new GenericType<String[]>(){}.getRawType()); }