{"id":73935,"library":"error-prone-check-api","title":"Error Prone Check API","description":"Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time.","status":"active","version":"2.50.0","language":"java","source_language":null,"source_url":"https://github.com/google/error-prone","tags":["static-analysis","error-prone","java","linting"],"install":[{"cmd":"<dependency>\n  <groupId>com.google.errorprone</groupId>\n  <artifactId>error_prone_check_api</artifactId>\n  <version>2.50.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.google.errorprone:error_prone_check_api:2.50.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"BugCheckerRefactoringTestHelper","correct":"com.google.errorprone.BugCheckerRefactoringTestHelper"}],"quickstart":{"code":"import com.google.errorprone.BugCheckerRefactoringTestHelper;\nimport com.google.errorprone.CompilationTestHelper;\n\npublic class Example {\n    public void test() {\n        CompilationTestHelper compilationHelper = CompilationTestHelper.newInstance(MyChecker.class, getClass());\n        compilationHelper.addSourceLines(\"Test.java\", \"public class Test {}\");\n        compilationHelper.doTest();\n    }\n}","lang":"java","description":"Test an Error Prone bug checker using CompilationTestHelper."},"warnings":[],"env_vars":null,"search_vec":"'analysi':10,25 'api':4 'catch':15 'check':3 'common':16 'compil':21 'compile-tim':20 'error':1,5,27 'error-pron':26 'java':13,29 'lint':30 'mistak':18 'program':17 'prone':2,6,28 'static':9,24 'static-analysi':23 'time':22 'tool':11","created_at":"2026-06-17T18:57:00.215450+00:00","updated_at":"2026-06-17T18:57:00.215450+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://errorprone.info","github":"https://github.com/google/error-prone","docs":"https://appdoc.app/artifact/com.google.errorprone/error_prone_check_api/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}