{"id":21834278,"url":"https://github.com/borkdude/qualify-methods","last_synced_at":"2025-04-14T08:35:42.580Z","repository":{"id":264989941,"uuid":"871703736","full_name":"borkdude/qualify-methods","owner":"borkdude","description":"Rewrite your instance calls to use fully qualified methods","archived":false,"fork":false,"pushed_at":"2024-10-14T10:08:46.000Z","size":7,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:58:55.764Z","etag":null,"topics":["clojure"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borkdude.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"borkdude"}},"created_at":"2024-10-12T17:48:47.000Z","updated_at":"2024-10-15T23:09:12.000Z","dependencies_parsed_at":"2024-11-27T14:16:23.245Z","dependency_job_id":null,"html_url":"https://github.com/borkdude/qualify-methods","commit_stats":null,"previous_names":["borkdude/qualify-methods"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fqualify-methods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fqualify-methods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fqualify-methods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borkdude%2Fqualify-methods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borkdude","download_url":"https://codeload.github.com/borkdude/qualify-methods/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248846531,"owners_count":21170979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojure"],"created_at":"2024-11-27T20:09:44.439Z","updated_at":"2025-04-14T08:35:42.531Z","avatar_url":"https://github.com/borkdude.png","language":"Clojure","funding_links":["https://github.com/sponsors/borkdude"],"categories":[],"sub_categories":[],"readme":"# qualify-methods\n\nRewrite your instance calls to use fully qualified methods\n\n\u003cimg src=\"https://files.mastodon.social/media_attachments/files/113/305/219/646/283/320/original/68294791bdce3a8c.png\"\u003e\n\n## What does this tool do?\n\nIt rewrites instance method calls in the form `(.length x)` to Clojure 1.12's\nfully qualified `(String/.length x)` form, whenever the class of the method can\nbe inferred using `clojure.tools.analyzer.jvm`. Reasons to do this may include\nbetter IDE support (auto-completions), e.g. when you're using `clj-kondo` via\n`clojure-lsp`.\n\n## Status\n\nScrappy fiddle. Use at own risk. Improvements welcome via issue and PRs.\n\n## Usage\n\nIn `deps.edn` add this library in `:aliases`. You will need to use `:extra-deps`\nsince this tool runs in the context of your application dependencies.\n\n``` clojure\n:aliases {:qualify-methods\n           {:extra-deps {io.github.borkdude/qualify-methods\n                         {:git/sha \"\u003cnewest-sha\u003e\"}}\n            :exec-fn borkdude.qualify-methods/qualify-methods}}\n```\n\nThen run with `clj -X:qualify-methods :paths '[\"src\"]'`\n\n## TODO\n\n- [ ] Add tests via cognitect test runner\n- [ ] Take into account default imports like `String` vs. `java.lang.String` and\n      namespace specific imports\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fqualify-methods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborkdude%2Fqualify-methods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborkdude%2Fqualify-methods/lists"}