org.apache.commons.inject.api
Class Key<T>
java.lang.Object
org.apache.commons.inject.api.Key<T>
- All Implemented Interfaces:
- IKey<T>
- Direct Known Subclasses:
- AbstractBindingSet.MappedKey
public class Key<T>
- extends Object
- implements IKey<T>
NO_NAME
public static final String NO_NAME
- See Also:
- Constant Field Values
NO_ANNOTATIONS
public static final Annotation[] NO_ANNOTATIONS
Key
public Key(Class<T> pType,
String pName,
Annotation[] pAnnotations)
Key
public Key(Class<T> pType,
String pName)
Key
public Key(Class<T> pType)
getType
public Class<T> getType()
- Specified by:
getType
in interface IKey<T>
getName
public String getName()
- Specified by:
getName
in interface IKey<T>
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interface IKey<T>
toString
public String toString()
- Overrides:
toString
in class Object
toString
public static String toString(IKey<?> pKey)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.