{"id":20662503,"url":"https://github.com/xxdark/genesis","last_synced_at":"2025-04-19T15:51:04.405Z","repository":{"id":232415502,"uuid":"782972034","full_name":"xxDark/genesis","owner":"xxDark","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-09T15:37:34.000Z","size":62,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T09:41:35.670Z","etag":null,"topics":["constructor","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/xxDark.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}},"created_at":"2024-04-06T15:17:05.000Z","updated_at":"2025-03-03T12:22:00.000Z","dependencies_parsed_at":"2024-04-09T19:37:24.203Z","dependency_job_id":null,"html_url":"https://github.com/xxDark/genesis","commit_stats":null,"previous_names":["xxdark/genesis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxDark%2Fgenesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxDark%2Fgenesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxDark%2Fgenesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxDark%2Fgenesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xxDark","download_url":"https://codeload.github.com/xxDark/genesis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249730656,"owners_count":21317328,"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":["constructor","java"],"created_at":"2024-11-16T19:14:25.065Z","updated_at":"2025-04-19T15:51:04.368Z","avatar_url":"https://github.com/xxDark.png","language":"Java","readme":"# genesis\r\n\r\nControl when constructor is called.\r\n\r\n```java\r\npublic class Test {\r\n\r\n\tpublic Test() {\r\n\t\tSystem.out.println(this);\r\n\t}\r\n\r\n\tpublic static void main(String[] args) throws Throwable {\r\n\t\tTest test = Genesis.allocateInstance(Test.class);\r\n\t\tMethodHandle ctor = MethodHandles.publicLookup().findConstructor(Test.class, MethodType.methodType(void.class));\r\n\t\tMethodHandle constructorInvoker = Genesis.construtorAsInvoker(ctor);\r\n\t\tconstructorInvoker.invokeExact(test);\r\n\t\tconstructorInvoker.invokeExact(test);\r\n\t}\r\n}\r\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxdark%2Fgenesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxdark%2Fgenesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxdark%2Fgenesis/lists"}