nl: same as c.isprimitive but faster if this test is done very frequently as it is in randoop . concode_field_sep Map<String,Boolean> stringLengthOKCached concode_elem_sep Map<Class<?>,Class<?>> boxedToPrimitiveAndString concode_elem_sep Map<String,Class<?>> typeNameToPrimitiveOrString concode_elem_sep Map<Class<?>,Boolean> isPrimitiveCached concode_elem_sep String OBJECT_REF_PATTERN concode_elem_sep Map<String,Class<?>> typeNameToBoxed concode_elem_sep Map<Class<?>,Class<?>> primitiveAndStringToBoxed concode_field_sep boolean isBoxedPrimitiveTypeOrString concode_elem_sep boolean isPrimitiveOrStringTypeName concode_elem_sep Class<?> getPrimitiveTypeOrString concode_elem_sep Class<?> boxedType concode_elem_sep Set<Class<?>> getPrimitiveTypesAndString concode_elem_sep String toCodeString concode_elem_sep Class<?> getUnboxType concode_elem_sep boolean stringLengthOK concode_elem_sep boolean isBoxedOrPrimitiveOrStringType concode_elem_sep boolean isPrimitiveOrStringType concode_elem_sep Class<?> primitiveType concode_elem_sep Class<?> getBoxedType concode_elem_sep Set<Class<?>> getBoxedTypesAndString concode_elem_sep boolean looksLikeObjectToString
code: boolean function ( Class < ? > arg0 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; Boolean loc0 = isPrimitiveCached . get ( arg0 ) ; if ( loc0 == null ) { loc0 = arg0 . isPrimitive ( ) ; isPrimitiveCached . put ( arg0 , loc0 ) ; } return loc0 ; }