Class Version


  • public final class Version
    extends Object
    Utility used for obtaining the current version of the java-tree-sitter codebase. Unlike attempting to access the "Implementation-Version" manifest attribute from the JAR file, this utility will work even if the ClassLoader does not expose the manifest metadata, or if the code is not packaged in a JAR file.
    Since:
    1.11.0
    Author:
    Ozren Dabić
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • getVersion

        public static String getVersion()
        Get the current version of java-tree-sitter.
        Returns:
        the semantic version string