{"id":54256,"library":"spotbugs-annotations","title":"SpotBugs Annotations","description":"Annotations that the SpotBugs static analysis tool uses to detect bugs in Java code.","status":"active","version":"4.9.8","language":"java","source_language":null,"source_url":"https://github.com/spotbugs/spotbugs","tags":["annotations","static-analysis","bug-detection","spotbugs"],"install":[{"cmd":"<dependency>\n  <groupId>com.github.spotbugs</groupId>\n  <artifactId>spotbugs-annotations</artifactId>\n  <version>4.9.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.github.spotbugs:spotbugs-annotations:4.9.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SuppressFBWarnings","correct":"edu.umd.cs.findbugs.annotations.SuppressFBWarnings"}],"quickstart":{"code":"import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n\n@SuppressFBWarnings(\"NP_NULL_ON_SOME_PATH\")\npublic void example() {\n    // code with potential null dereference\n}","lang":"java","description":"Suppress a specific SpotBugs warning on a method."},"warnings":[],"env_vars":null,"search_vec":"'analysi':8,20 'annot':2,3,17 'bug':13,22 'bug-detect':21 'code':16 'detect':12,23 'java':15 'spotbug':1,6,24 'static':7,19 'static-analysi':18 'tool':9 'use':10","created_at":"2026-06-15T08:56:17.495064+00:00","updated_at":"2026-06-15T08:56:17.495064+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://spotbugs.github.io/","github":"https://github.com/spotbugs/spotbugs","docs":"https://appdoc.app/artifact/com.github.spotbugs/spotbugs-annotations/","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}}