Top Inners Fields Constructors Methods
com.google.inject.internal

public Class UniqueAnnotations

extends Object
Class Inheritance
Static Imports
java.lang.annotation.RetentionPolicy.RUNTIME

Author
[email protected] (Jesse Wilson)

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static @interface

Field Summary

Modifier and TypeField and Description
private static final String
private static final AtomicInteger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Annotation
create()

Returns an annotation instance that is not equal to any other annotation instances, for use in creating distinct com.google.inject.Keys.

pack-priv static Annotation
create(final int value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INTERNAL_INSTANCE_STRINGback to summary
private static final String INTERNAL_INSTANCE_STRING
nextUniqueValueback to summary
private static final AtomicInteger nextUniqueValue

Constructor Detail

UniqueAnnotationsback to summary
private UniqueAnnotations()

Method Detail

createback to summary
public static Annotation create()

Returns an annotation instance that is not equal to any other annotation instances, for use in creating distinct com.google.inject.Keys.

createback to summary
pack-priv static Annotation create(final int value)
com.google.inject.internal back to summary

pack-priv @Interface UniqueAnnotations.Internal

extends Annotation
Annotations
@Retention:RUNTIME
@BindingAnnotation

Method Summary

Modifier and TypeMethod and Description
public int
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public int value()