Package com.google.inject.internal
Class UniqueAnnotations
- java.lang.Object
-
- com.google.inject.internal.UniqueAnnotations
-
public class UniqueAnnotations extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
UniqueAnnotations.Internal
-
Field Summary
Fields Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicInteger
nextUniqueValue
-
Constructor Summary
Constructors Modifier Constructor Description private
UniqueAnnotations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.annotation.Annotation
create()
Returns an annotation instance that is not equal to any other annotation instances, for use in creating distinctKey
s.(package private) static java.lang.annotation.Annotation
create(int value)
-
-
-
Method Detail
-
create
public static java.lang.annotation.Annotation create()
Returns an annotation instance that is not equal to any other annotation instances, for use in creating distinctKey
s.
-
create
static java.lang.annotation.Annotation create(int value)
-
-