Class Assertions


  • public class Assertions
    extends Object
    This class contains a constant that is used as a guard around assertions that are considered expensive. Since this field is static final, the compiler will use this information to remove the assertions completely from the generated byte code at compile time. A "release" mode build would substitute a version of this class that changes this value to false, thereby disabling assertions.
    • Constructor Detail

      • Assertions

        public Assertions()