public static boolean isPrimitive ( Type type ) { return type . equals ( boolean . class ) || type . equals ( double . class ) || type . equals ( float . class ) || type . equals ( short . class ) || type . equals ( int . class ) || type . equals ( long . class ) || type . equals ( byte . class ) || type . equals ( char . class ) ; }
Is cls a basic type