jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java
private static int getPrimitiveClassNameIndex(final String className) {
		int dotIndex = className.indexOf('.');
		if (dotIndex != -1) {
			return -1;
		}
		return Arrays.binarySearch(PRIMITIVE_TYPE_NAMES, className);
	}
private static int getPrimitiveClassNameIndex(final String className) {
		int dotIndex = className.indexOf('.');
		if (dotIndex != -1) {
			return -1;
		}
		return Arrays.binarySearch(PRIMITIVE_TYPE_NAMES, className);
	}
private static int getPrimitiveClassNameIndex ( final String className ) { int dotIndex = className . indexOf ( ' ' ) ; if ( dotIndex != - 1 ) { return - 1 ; } return Arrays . binarySearch ( PRIMITIVE_TYPE_NAMES , className ) ; }
Detects if provided class name is a primitive type.
Returns >= 0 number if so.
Detects if provided class name is a primitive type . Returns > = 0 number if so .