Does anyone know a better way to write the following statement:
example.mySpecialMethod(new MySpecialClass[0].getClass())
I need the array type, but I dont know if there is a better solution. At the moment this example works for me, but perhaps someone knows a better way to do the same without the new
keyword.