public class UniqueAnnotations
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
UniqueAnnotations.Internal |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.concurrent.atomic.AtomicInteger |
nextUniqueValue |
| Modifier | Constructor and Description |
|---|---|
private |
UniqueAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.annotation.Annotation |
create()
Returns an annotation instance that is not equal to any other annotation
instances, for use in creating distinct
Keys. |
(package private) static java.lang.annotation.Annotation |
create(int value) |
private static final java.util.concurrent.atomic.AtomicInteger nextUniqueValue
public static java.lang.annotation.Annotation create()
Keys.static java.lang.annotation.Annotation create(int value)