Top level of the API, provides access to API implementations.
Common semantics within javax.tools.diagnostics
Collections
-
Unless specifically declared all Collection classes and their associated Iterators are read only.
Attempts to add ,remove or replace items within the collection will result in a {@link java.lang.UnsupportedOperationException} being thrown
-
Ordered Collections returned by this API are required to have a consistent and repeatable ordering across calls.
Object equality
Instances of classes defined by this API should only be tested for equality by using the {@link java.lang.Object#equals()} method.