private static boolean isPrimitive(String typeDescriptor){
  return typeDescriptor.length() == 1;
}

private static boolean isPrimitive ( String typeDescriptor ) { return typeDescriptor . length ( ) == 1 ; }
does the type descriptor string describe a primitive type ?
