private static boolean isTypeMatched ( Class < ? > clz ) { if ( clz . equals ( String . class ) ) { return true ; } else if ( clz . equals ( byte . class ) || clz . equals ( Byte . class ) ) { return true ; } else if ( clz . equals ( short . class ) || clz . equals ( Short . class ) ) { return true ; } else if ( clz . equals ( int . class ) || clz . equals ( Integer . class ) ) { return true ; } else if ( clz . equals ( long . class ) || clz . equals ( Long . class ) ) { return true ; } else if ( clz . equals ( float . class ) || clz . equals ( Float . class ) ) { return true ; } else if ( clz . equals ( double . class ) || clz . equals ( Double . class ) ) { return true ; } else if ( clz . equals ( boolean . class ) || clz . equals ( Boolean . class ) ) { return true ; } else if ( clz . equals ( char . class ) || clz . equals ( Character . class ) ) { return true ; } else if ( clz . equals ( InetAddress . class ) ) { return true ; } else if ( clz . equals ( Class . class ) ) { return true ; } else if ( clz . equals ( Properties . class ) ) { return true ; } return false ; }
Check whether the types that JCA Injection knows .