64f7c3f498
Also optimize getPrimitiveType and getPrimitiveArrayType. Convert PrimitiveType to Kotlin to leverage the switch over string optimization, which is not possible in Java 6 (which is used to compile 'descriptors').