 (defn typeQname [t]
   (classQname t))
 
-(defn getModifiers [el]
-  (if (map? el)
-    (getModifiers (:field el))
-    (.getModifiers el)))
-
-(defn isPrivate? [cl]
-  (let [ms (getModifiers cl)]
-    (ModifierSet/isPrivate ms)))
-
-(defn isPublic? [cl]
-  (let [ms (getModifiers cl)]
-    (ModifierSet/isPublic ms)))
-
-(defn isProtected? [cl]
-  (let [ms (getModifiers cl)]
-    (ModifierSet/isProtected ms)))
-
-(defn isStatic? [cl]
-  (let [ms (getModifiers cl)]
-    (ModifierSet/isStatic ms)))
-
-(defn isFinal? [cl]
-  (let [ms (getModifiers cl)]
-    (ModifierSet/isFinal ms)))
-
-(defn hasPackageLevelAccess? [cl]
-  (not
-    (or
-      (isPublic? cl)
-      (isPrivate? cl)
-      (isProtected? cl))))
-
-(defn isPublicOrHasPackageLevelAccess? [el]
-  (or
-    (isPublic? el)
-    (hasPackageLevelAccess? el)))
-
-(defn isNotPrivate? [cl]
-  (complement isPrivate?))
-
 ; TODO Consider internal classes
 (defn getClasses [cu]
   (filter isClass? (.getTypes cu)))

    (instance? ClassOrInterfaceDeclaration n)
    (not (.isInterface n))))

(defn isEnum? [n]
  (instance? EnumDeclaration n))

(defn packageName [n]
  (if (instance? CompilationUnit n)

(import japa.parser.ast.body.ConstructorDeclaration)
(import japa.parser.ast.body.FieldDeclaration)
(import japa.parser.ast.body.MethodDeclaration)
(import japa.parser.ast.body.TypeDeclaration)
(import japa.parser.ast.body.ModifierSet)

; ============================================
