Class Version
- java.lang.Object
-
- ch.usi.si.seart.treesitter.version.Version
-
public final class Version extends Object
Utility used for obtaining the current version of thejava-tree-sittercodebase. Unlike attempting to access the "Implementation-Version" manifest attribute from the JAR file, this utility will work even if theClassLoaderdoes not expose the manifest metadata, or if the code is not packaged in a JAR file.- Since:
- 1.11.0
- Author:
- Ozren Dabić
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetVersion()Get the current version ofjava-tree-sitter.
-
-
-
Method Detail
-
getVersion
public static String getVersion()
Get the current version ofjava-tree-sitter.- Returns:
- the semantic version string
-
-