         matchingParameters (filter (fn [p] (= nameToSolve (.getName (.getId p)))) parameters)]
     (first matchingParameters)))
 
-(extend-protocol scope
+(extend-protocol Scope
   com.github.javaparser.ast.body.MethodDeclaration
   (solveSymbol [this context nameToSolve]
     (or (solve-among-parameters this nameToSolve)

        correspondingClasses (map typeSolver importNames)]
    (first correspondingClasses)))

(extend-protocol scope
  com.github.javaparser.ast.CompilationUnit
  ; TODO consider imports
  (solveClass [this context nameToSolve]

        solvedSymbols' (remove nil? solvedSymbols)]
    (first solvedSymbols')))

(extend-protocol Scope
  com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
  (solveSymbol [this context nameToSolve]
    (let [amongDeclaredFields (solveAmongDeclaredFields this nameToSolve)]
