I have a method in my test framework that creates an instance of a class, depending on the parameters passed in:
public void test(Object... constructorArgs)
you can write
int[].class.getComponentType()
or
Integer.TYPE
int.class