Suppose you set up a custom annotation
public @interface ThreadSafe {
}
To indicate to the reader of your code that classes or methods are in fact Thread Safe
Other then a variant of a comment, how else can these types of custom annotations be used?