{"id":19282668,"url":"https://github.com/klappdev/snitch","last_synced_at":"2026-07-13T14:32:41.877Z","repository":{"id":176314133,"uuid":"168180192","full_name":"klappdev/snitch","owner":"klappdev","description":"Java contract library based on AspectJ","archived":false,"fork":false,"pushed_at":"2021-04-02T15:56:08.000Z","size":40715,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T10:28:06.213Z","etag":null,"topics":["aspectj","contracts-programming","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/klappdev.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":"2019-01-29T15:42:17.000Z","updated_at":"2022-11-10T20:01:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"da250248-dde1-4e8a-9a3e-a750de5b6df4","html_url":"https://github.com/klappdev/snitch","commit_stats":null,"previous_names":["klappdev/snitch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klappdev/snitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fsnitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fsnitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fsnitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fsnitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klappdev","download_url":"https://codeload.github.com/klappdev/snitch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klappdev%2Fsnitch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35426085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"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":["aspectj","contracts-programming","java"],"created_at":"2024-11-09T21:27:56.305Z","updated_at":"2026-07-13T14:32:41.858Z","avatar_url":"https://github.com/klappdev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snitch\n\nThis is simple Java contract library based on AspectJ.\n\nLibrary can make compare operations with primitive type and \ncheck objects for null.\u003cbr/\u003e\nThere are three type annotation which use for checking.\n\n    @Expects   - check parameters method\n    @Ensures   - check return value method\n    @Invariant - check fields class\n\n\nDeveloper can check input parameters method.\n\n![alt text](https://raw.githubusercontent.com/klappdev/snitch/master/res/Expects.png)\n\nDeveloper can check return value method. For return variable use reserved word result.\n\n![alt text](https://raw.githubusercontent.com/klappdev/snitch/master/res/Ensures.png)\n\nDeveloper also can check value fields class.\n\n![alt text](https://raw.githubusercontent.com/klappdev/snitch/master/res/Invariant.png)\n\nSupport syntax highlight for string contract annotations in IntelliJ Idea\u003cbr/\u003e\nthrough language injection. \n\nIn future expects add check call method objects and Eclipse IDE highlight syntax plugins.\n\nRequirements:\u003cbr/\u003e\nJDK: Java 8 \u003cbr/\u003e\nlibs: AspectJ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklappdev%2Fsnitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklappdev%2Fsnitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklappdev%2Fsnitch/lists"}