@SuppressWarnings("rawtypes")
    public boolean useReferences(Class type) {
        return !Util.isWrapperClass(type) && !type.equals(String.class) && !type.equals(Date.class) && !type.equals(BigDecimal.class) && !type.equals(BigInteger.class);
    }
@ SuppressWarnings ( "rawtypes" ) public boolean useReferences ( Class type ) { return ! Util . isWrapperClass ( type ) && ! type . equals ( String . class ) && ! type . equals ( Date . class ) && ! type . equals ( BigDecimal . class ) && ! type . equals ( BigInteger . class ) ; }
Returns false for all primitive wrappers.