public static boolean isPojo()

in library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/utils/PojoHelper.java [50:72]


    public static boolean isPojo(Class<?> type) {
        Package pkg = type.getPackage();
        if (pkg != null) {
            if (pkg.getName().startsWith("java")
                    || pkg.getName().startsWith("javax")
                    || pkg.getName().startsWith("com.sun")
                    || pkg.getName().startsWith("com.oracle")) {
                return false;
            }
        }

        if (isNumber(type)) {
            return false;
        }
        if (isPrimitive(type)) {
            return false;
        }
        if (isString(type)) {
            return false;
        }

        return true;
    }