{"id":55522,"library":"org-eclipse-jdt-annotation","title":"JDT Annotations for Enhanced Null Analysis","description":"Provides annotations for null analysis in Eclipse JDT, enabling compile-time null safety checks.","status":"active","version":"2.4.100","language":"java","source_language":null,"source_url":"https://github.com/eclipse-jdt/eclipse.jdt.core","tags":["eclipse","jdt","annotations","null-analysis"],"install":[{"cmd":"<dependency>\n  <groupId>org.eclipse.jdt</groupId>\n  <artifactId>org.eclipse.jdt.annotation</artifactId>\n  <version>2.4.100</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.eclipse.jdt:org.eclipse.jdt.annotation:2.4.100'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"NonNull","correct":"org.eclipse.jdt.annotation.NonNull"}],"quickstart":{"code":"import org.eclipse.jdt.annotation.NonNull;\n\npublic class Example {\n    public void greet(@NonNull String name) {\n        System.out.println(\"Hello, \" + name);\n    }\n}","lang":"java","description":"Uses @NonNull annotation to enforce non-null parameter."},"warnings":[{"fix":"Ensure your build tool (e.g., Maven) is configured to use Eclipse compiler or add IDE support.","message":"Annotations are only effective when used with Eclipse JDT compiler or configured IDE.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'analysi':6,11,27 'annot':2,8,24 'check':21 'compil':17 'compile-tim':16 'eclips':13,22 'enabl':15 'enhanc':4 'jdt':1,14,23 'null':5,10,19,26 'null-analysi':25 'provid':7 'safeti':20 'time':18","created_at":"2026-06-15T09:54:41.815928+00:00","updated_at":"2026-06-15T09:54:41.815928+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/eclipse-jdt/eclipse.jdt.core/","github":"https://github.com/eclipse-jdt/eclipse.jdt.core","docs":"https://appdoc.app/artifact/org.eclipse.jdt/org.eclipse.jdt.annotation/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}