Class CfrVersionInfo

java.lang.Object
org.benf.cfr.reader.util.CfrVersionInfo

public class CfrVersionInfo extends Object
Provides information about the CFR build.

The information in this class is automatically generated when the project is built.

  • Field Details

    • VERSION

      public static final String VERSION
      CFR version
      See Also:
    • SNAPSHOT

      public static final boolean SNAPSHOT
      Are we a snapshot?
    • GIT_COMMIT_ABBREVIATED

      public static final String 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_DIRTY
      Whether 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

      public static final String VERSION_INFO
      String consisting of CFR version and Git commit hash
  • Constructor Details

    • CfrVersionInfo

      private CfrVersionInfo()