Annotation Interface ThreadSafe


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface ThreadSafe
The presence of this annotation indicates that the author believes the class to be thread-safe. As such, there should be no sequence of accessing the public methods or fields that could put an instance of this class into an invalid state, irrespective of any rearrangement of those operations by the Java Runtime and without introducing any requirements for synchronization or coordination by the caller/accessor.