public boolean isPrimitive()
    {
        return ("int".equals(type) || "long".equals(type) || "boolean".equals(type) || "double".equals(type) ||
                "byte".equals(type) || "short".equals(type) || "float".equals(type) || "char".equals(type));
    }