Class CfrVersionInfo
java.lang.Object
org.benf.cfr.reader.util.CfrVersionInfo
Provides information about the CFR build.
The information in this class is automatically generated when the project is built.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAbbreviated Git commit hash of the commit representing this state of the project.static final booleanWhether the working tree contained not yet committed changes when the project was built.static final booleanAre we a snapshot?static final StringCFR versionstatic final StringString consisting of CFR version and Git commit hash -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VERSION
-
SNAPSHOT
public static final boolean SNAPSHOTAre we a snapshot? -
GIT_COMMIT_ABBREVIATED
Abbreviated Git commit hash of the commit representing this state of the project.- See Also:
-
GIT_IS_DIRTY
public static final boolean GIT_IS_DIRTYWhether the working tree contained not yet committed changes when the project was built.This information can be useful for error reports to find out if changes have been made.
-
VERSION_INFO
String consisting of CFR version and Git commit hash
-
-
Constructor Details
-
CfrVersionInfo
private CfrVersionInfo()
-