class PrimitiveBoxedUtils {

    public static boolean areSameWithBoxing(Class<?> a, Class<?> b) {
        Optional<PrimitiveBoxed> pmmlPrimitiveBoxed = getKiePMMLPrimitiveBoxed(a);
        return pmmlPrimitiveBoxed.filter(kiePMMLPrimitiveBoxed -> a.equals(b) || kiePMMLPrimitiveBoxed.isSameWithBoxing(b)).isPresent();
    }

    private  PrimitiveBoxedUtils();

}