private static Type getArrayType(Type componentType) { Contracts.assertNotNull( componentType, "componentType" ); if ( componentType instanceof Class<?> ) { return Array.newInstance( (Class<?>) componentType, 0 ).getClass(); } return genericArrayType( componentType ); }
private static Type getArrayType(Type componentType) { Contracts.assertNotNull( componentType, "componentType" ); if ( componentType instanceof Class<?> ) { return Array.newInstance( (Class<?>) componentType, 0 ).getClass(); } return genericArrayType( componentType ); }