我不了解这种方法的含义,它起什么作用?
private static Type fixGenericArray(Type var0) {
if (var0 instanceof GenericArrayType) {
Type var1 = ((GenericArrayType)var0).getGenericComponentType();
var1 = fixGenericArray(var1);
if (var1 instanceof Class) {
return Array.newInstance((Class)var1, 0).getClass();
}
}
return var0;
}