Package com.adobe.xfa.ut
Class Assertions
java.lang.Object
com.adobe.xfa.ut.Assertions
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isEnabled
public static final boolean isEnabled- See Also:
-
-
Constructor Details
-
Assertions
public Assertions()
-