I have a method that needs a Object.class parameter like
method(Object.class)
How can I set the class to an Array of this class? Something like
method(ArrayList<Object>.class)
I tried
method(new ArrayList<Object>() {})
as well. It doesnt work.