   (flatten
    (for [cl (allClassesForCus cus)]
      (getConstructors cl))))
-
-(defn getMethods [cl]
-  (filter (fn [m] (instance? MethodDeclaration m)) (.getMembers cl)))
-
-(defn getFields [cl]
-  (filter (fn [m] (instance? FieldDeclaration m)) (.getMembers cl)))
 
 (defn getNotPrivateConstructors [cl]
   (filter isNotPrivate? (getConstructors cl)))

(import com.github.javaparser.ast.expr.VariableDeclarationExpr)
(import com.github.javaparser.ast.body.VariableDeclarator)
(import com.github.javaparser.ast.body.VariableDeclaratorId)

(defn topLevelTypes [cu]
  "List of toplevel types: classes, interfaces and enums not contained in other types"

  (filter #(instance? BlockStmt %)
          (getChildrenNodes root)))

(defn getVariableDeclarationExprs [root]
  (filter #(instance? VariableDeclarationExpr %)
          (getChildrenNodes root)))
