{"id":27123999,"url":"https://github.com/chiragpadyal/method-invocations-spoon","last_synced_at":"2026-05-14T12:35:04.522Z","repository":{"id":221841094,"uuid":"755522878","full_name":"chiragpadyal/method-invocations-spoon","owner":"chiragpadyal","description":"This is a simple Java method invocation printer. It is a simple tool that can be used to print the method invocations of a Java class. It is useful for debugging and understanding the flow of a Java program.","archived":false,"fork":false,"pushed_at":"2024-02-10T13:35:51.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T03:56:02.158Z","etag":null,"topics":["java","maven","spoon","static-code-analysis"],"latest_commit_sha":null,"homepage":"","language":"Java","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/chiragpadyal.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}},"created_at":"2024-02-10T13:24:56.000Z","updated_at":"2024-02-10T13:32:31.000Z","dependencies_parsed_at":"2024-02-10T14:31:37.091Z","dependency_job_id":"b27791de-b6a7-4744-9887-b3ae2c262ba6","html_url":"https://github.com/chiragpadyal/method-invocations-spoon","commit_stats":null,"previous_names":["chiragpadyal/method-invocations-spoon"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chiragpadyal/method-invocations-spoon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragpadyal%2Fmethod-invocations-spoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragpadyal%2Fmethod-invocations-spoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragpadyal%2Fmethod-invocations-spoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragpadyal%2Fmethod-invocations-spoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chiragpadyal","download_url":"https://codeload.github.com/chiragpadyal/method-invocations-spoon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiragpadyal%2Fmethod-invocations-spoon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33025213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","maven","spoon","static-code-analysis"],"created_at":"2025-04-07T13:20:11.416Z","updated_at":"2026-05-14T12:35:04.501Z","avatar_url":"https://github.com/chiragpadyal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Method Invocation Printer\n\n## Introduction\nThis is a simple Java method invocation printer. It is a simple tool that can be used to print the method invocations of a Java class. It is useful for debugging and understanding the flow of a Java program.\n\n\n## Usage\nTo use the tool, simply run the following command:\n```\njava -jar method-invocations-1.0.0-jar-with-dependencies.jar -m \u003cmethod_name\u003e -t \u003cTEST | APP\u003e -p \u003c/path/to/maven/project | pom.xml\u003e\n```\n\n## Output\nThe tool will print the method invocations of the specified method. The output will be in the json format the output will also be saved in a file called `call_hierarchy.json` in the current directory.\n```\n$ java -jar method-invocations-1.0.0-jar-with-dependencies.jar -m org.jfree.chart.JFreeChart.createBufferedImage -t APP -p /path/to/maven/project\n\noutput:\n[\n    {\n        \"method\": \"createBufferedImage(int,int)\",\n        \"sub_hierarchy\": [\n            {\n                \"method\": \"createBufferedImage(int,int,org.jfree.chart.ChartRenderingInfo)\",\n                \"sub_hierarchy\": [\n                    {\n                        \"method\": \"createBufferedImage(int,int,int,org.jfree.chart.ChartRenderingInfo)\",\n                        \"sub_hierarchy\": []\n                    }\n                ]\n            }\n        ]\n    },\n    ...\n]\n```\n\n## NOTE (May change in the future)\n- Only work with Java 11 projects.\n- Only work with Maven projects.\n\n\n## Speacial Thanks\n- [Spoon](https://github.com/INRIA/spoon)\n- [pbadenski - call-hierarchy-printer](https://github.com/pbadenski/call-hierarchy-printer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiragpadyal%2Fmethod-invocations-spoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchiragpadyal%2Fmethod-invocations-spoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiragpadyal%2Fmethod-invocations-spoon/lists"}