     }
 
     init?(structure: Structure) {
-        guard structure.kind == "source.lang.swift.decl.function.method.instance",
+        guard structure.kind == .functionMethodInstance,
             let name = structure.name else {
             return nil
         }


injectables.forEach { print($0, "\n") }
parameters.forEach { print($0, "\n") }

        let type: String

        init?(structure: Structure) {
            guard structure.kind == .varParameter,
                let name = structure.name,
                let type = structure.dictionary["key.typename"] as? String else {
                return nil
