{"library":"tree-sitter-java","type":"library","category":null,"description":"The `tree-sitter-java` library provides the Tree-sitter grammar definition and source files for the Java programming language. It is designed to be used with the `tree-sitter` Python binding (or other language bindings) to parse Java code into a concrete syntax tree (CST) or abstract syntax tree (AST). The current version is `0.23.5`, and it follows the release cadence of the upstream Tree-sitter grammar.","language":"python","status":"active","version":"0.23.5","tags":["tree-sitter","parser","java","ast","syntax-analysis","grammar"],"last_verified":"Wed May 20","install":[{"cmd":"pip install tree-sitter-java tree-sitter","imports":["from tree_sitter import Language","from tree_sitter import Parser","import tree_sitter_java"]}],"homepage":null,"github":"https://github.com/tree-sitter/tree-sitter-java","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tree-sitter-java/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tree-sitter-java/compatibility"}}