Is there a way to get compile-time references to the classes named "[I", "[F", etc? [I.class is not recognized by the compiler. Class.forName("[I") works, but I want to avoid using that if I can.
In case you're wondering, these are the classes returned by java.lang.reflect.Field.getType() for fields representing arrays of primitive types. I have a HashMap parameterized as <Class, FieldHandler> and I want to simply pass each field to the FieldHandler associated with its class in the HashMap.
I suppose I could test isArray() on the class and then handle arrays differently from other fields...but I don' wanna. :-P