{"id":15337242,"url":"https://github.com/vy/null-check","last_synced_at":"2026-01-11T05:23:14.189Z","repository":{"id":26615059,"uuid":"30070338","full_name":"vy/null-check","owner":"vy","description":"Validates @Nonnull method arguments at runtime using Spring AOP.","archived":false,"fork":false,"pushed_at":"2015-01-30T12:05:32.000Z","size":108,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T03:36:06.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vy.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}},"created_at":"2015-01-30T12:05:21.000Z","updated_at":"2019-02-05T10:58:46.000Z","dependencies_parsed_at":"2022-08-17T17:31:35.964Z","dependency_job_id":null,"html_url":"https://github.com/vy/null-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fnull-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fnull-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fnull-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vy%2Fnull-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vy","download_url":"https://codeload.github.com/vy/null-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226300031,"owners_count":17602889,"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":[],"created_at":"2024-10-01T10:20:17.579Z","updated_at":"2026-01-11T05:23:14.139Z","avatar_url":"https://github.com/vy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project implements a [Spring AOP](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/aop.html)\ndriven runtime null check for `javax.annotation.Nonnull` annotated method parameters.\n\nInternally, a `@Before` pointcut is used to intercept methods that have one or more `@Nonnull` annotated parameters\nand check that their values are non-null. This functionality is provided by `nullCheck` AspectJ advice in\n`com.vlkan.nullcheck.monitor.NullMonitor` class.\n\nDependencies\n============\n\nUsing Spring Boot, you can easily setup your project by adding the following dependencies to your `pom.xml`:\n\n    \u003c!-- Spring --\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-aop\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n\n    \u003c!-- JSR 305: Annotations for Software Defect Detection --\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.google.code.findbugs\u003c/groupId\u003e\n        \u003cartifactId\u003ejsr305\u003c/artifactId\u003e\n        \u003cversion\u003e3.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\nFor those who do not want to use Spring Boot, they are free to add individual dependencies manually.\n\nUsage\n=====\n\nCopy `com.vlkan.nullcheck.monitor.NullMonitor` to your project, under the directory where you keep your `@Aspect`s -- or\njust simply go with `monitor` directory. Whenever you use a method parameter with `@Nonnull` annotation, it will be\nintercepted by the aspect.\n\nLicense\n=======\n\nThe [null-check](https://github.com/vy/null-check/) by [Volkan Yazıcı](http://vlkan.com/) is licensed under the\n[Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).\n\n[![Creative Commons Attribution 4.0 International License](http://i.creativecommons.org/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvy%2Fnull-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvy%2Fnull-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvy%2Fnull-check/lists"}