question: private void validateIsPrimitiveType ( String typeName ) throws PIRException { if ( ! allowedPrimitiveJavaTypes . contains ( typeName . toLowerCase ( ) ) ) { throw new PIRException ( "javaType = " + typeName + " is not one of the allowed javaTypes: " + " byte, short, int, long, float, double, char, string" ) ; } }
target:  Checks the given type name is a supported Java primitive type, and throws a PIRException if not.