Returns the package version. @return version ("-" if this is no EXPath type)
()
| 95 | * @return version ("{@code -}" if this is no EXPath type) |
| 96 | */ |
| 97 | public String version() { |
| 98 | return type == PkgType.EXPATH ? version : "-"; |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Returns the package type. |