|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.AssertionStatusDirectives
A collection of assertion status directives (such as "enable assertions in package p" or "disable assertions in class c"). This class is used by the JVM to communicate the assertion status directives implied by the java command line flags -enableassertions (-ea) and -disableassertions (-da).
Field Summary | |
(package private) boolean[] |
classEnabled
A parallel array to classes, indicating whether each class is to have assertions enabled or disabled. |
(package private) String[] |
classes
The classes for which assertions are to be enabled or disabled. |
(package private) boolean |
deflt
Whether or not assertions in non-system classes are to be enabled by default. |
(package private) boolean[] |
packageEnabled
A parallel array to packages, indicating whether each package-tree is to have assertions enabled or disabled. |
(package private) String[] |
packages
The package-trees for which assertions are to be enabled or disabled. |
Constructor Summary | |
(package private) |
AssertionStatusDirectives()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
String[] classes
boolean[] classEnabled
In the case of conflicting directives for the same class, the last directive for a given class wins. In other words, if a string s appears multiple times in the classes array and i is the highest integer for which classes[i].equals(s), then classEnabled[i] indicates whether assertions are to be enabled in class s.
String[] packages
boolean[] packageEnabled
boolean deflt
Constructor Detail |
AssertionStatusDirectives()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |