Package org.benf.cfr.reader.util
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 String
Abbreviated Git commit hash of the commit representing this state of the project.static final boolean
Whether the working tree contained not yet committed changes when the project was built.static final boolean
Are we a snapshot?static final String
CFR versionstatic final String
String consisting of CFR version and Git commit hash -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VERSION
CFR version- See Also:
-
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()
-