Top Description Inners Methods
com.google.inject.internal

pack-priv @Interface Element

extends Annotation
Known Direct Implementers
com.google.inject.internal.RealElement
Annotations
@Retention:RUNTIME
@BindingAnnotation
Static Imports
java.lang.annotation.RetentionPolicy.RUNTIME

An internal binding annotation applied to each element in a multibinding. All elements are assigned a globally-unique id to allow different modules to contribute multibindings independently.
Author
[email protected] (Jesse Wilson)

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public String
public String
public Element.Type
type()

public int
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

keyTypeback to summary
public String keyType()
setNameback to summary
public String setName()
typeback to summary
public Element.Type type()
uniqueIdback to summary
public int uniqueId()
com.google.inject.internal back to summary

public final Enum Element.Type

extends Enum<Element.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Element.Type
public static final Element.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static Element.Type
public static Element.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

MAPBINDERback to summary
public static final Element.Type MAPBINDER
MULTIBINDERback to summary
public static final Element.Type MULTIBINDER

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static Element.Type valueOf(String name)
valuesback to summary
public static Element.Type[] values()