{"id":16865353,"url":"https://github.com/lesmiscore/classnullifier","last_synced_at":"2026-05-11T16:35:46.766Z","repository":{"id":147866728,"uuid":"81825964","full_name":"Lesmiscore/ClassNullifier","owner":"Lesmiscore","description":"Makes Java methods blank in classes in a JAR/ZIP file.","archived":false,"fork":false,"pushed_at":"2020-03-30T12:45:14.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T20:50:54.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lesmiscore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-02-13T13:06:06.000Z","updated_at":"2017-02-13T13:07:04.000Z","dependencies_parsed_at":"2023-05-11T14:00:52.975Z","dependency_job_id":null,"html_url":"https://github.com/Lesmiscore/ClassNullifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lesmiscore/ClassNullifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lesmiscore%2FClassNullifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lesmiscore%2FClassNullifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lesmiscore%2FClassNullifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lesmiscore%2FClassNullifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lesmiscore","download_url":"https://codeload.github.com/Lesmiscore/ClassNullifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lesmiscore%2FClassNullifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32903526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":[],"created_at":"2024-10-13T14:46:47.165Z","updated_at":"2026-05-11T16:35:46.745Z","avatar_url":"https://github.com/Lesmiscore.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClassNullifier\nMakes Java methods blank in classes in a JAR/ZIP file.    \n    \nIf there's a class file compiled from Java file like this,\n\n```java\npackage com.nao20010128nao;\npublic class TestClass{\n    public static void main(String[] args){\n        System.out.println(test());\n    }\n    public static String test(){\n        return \"This is a test.\";\n    }\n}\n```\nThe Java file decompiled from result class file will look like:\n\n```java\npackage com.nao20010128nao;\npublic class TestClass{\n    public static void main(String[] args){\n    }\n    public static String test(){\n        return null;\n    }\n}\n```\n\nFor all the non-constructor methods, the code will be replaced to:\n\n| Return Type                         | Code                          |\n|:-----------------------------------:|:------------------------------|\n| `void`                              | `;`(only one blank statement) |\n| primitive types (except for arrays) | `return 0;`                   |\n| non-primitive and array types       | `return null;`                |\n\nFor all the constructors and class initializers, the code will be replaced to `;`.    \nArguments are kept as is.    \nFields are unchangeable because javassist doesn't support to change them.    \nNon-class file (e.g. `META-INF/MANIFEST.MF`) are ignored and it will not be included in the output.\n\n\n# Usages\nIn command line:\n- `--input=(filename)` Input file name (full path) of the JAR/ZIP file. (required)\n- `--output=(dirname)` Output directory to save processed classes (default is to append `_nullified` on the `input`'s filename)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesmiscore%2Fclassnullifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesmiscore%2Fclassnullifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesmiscore%2Fclassnullifier/lists"}