java command line flags -enableassertions
(-ea) and -disableassertions (-da).
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean[] | classEnabled
A parallel array to |
| pack-priv String[] | classes
The classes for which assertions are to be enabled or disabled. |
| pack-priv boolean | deflt
Whether or not assertions in non-system classes are to be enabled by default. |
| pack-priv boolean[] | packageEnabled
A parallel array to |
| pack-priv String[] | packages
The package-trees for which assertions are to be enabled or disabled. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| classEnabled | back to summary |
|---|---|
| pack-priv boolean[] classEnabled A parallel array to In the case of conflicting directives for the same class, the
last directive for a given class wins. In other words, if a string
| |
| classes | back to summary |
|---|---|
| pack-priv String[] classes The classes for which assertions are to be enabled or disabled. The strings in this array are fully qualified class names (for example,"com.xyz.foo.Bar"). | |
| deflt | back to summary |
|---|---|
| pack-priv boolean deflt Whether or not assertions in non-system classes are to be enabled by default. | |
| packageEnabled | back to summary |
|---|---|
| pack-priv boolean[] packageEnabled A parallel array to | |
| packages | back to summary |
|---|---|
| pack-priv String[] packages The package-trees for which assertions are to be enabled or disabled. The strings in this array are compete or partial package names (for example, "com.xyz" or "com.xyz.foo"). | |
| AssertionStatusDirectives | back to summary |
|---|---|
| pack-priv AssertionStatusDirectives() | |