public final class SimpleInjectionPoint extends Object implements InjectionPoint, Serializable
Desires.create(java.lang.annotation.Annotation, Class, boolean).| Constructor and Description | 
|---|
| SimpleInjectionPoint(Annotation qualifier,
                    Class<?> type,
                    boolean nullable) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| <A extends Annotation> | getAttribute(Class<A> atype)Return the attribute of type A that is applied to the injection point. | 
| Collection<Annotation> | getAttributes() | 
| Class<?> | getErasedType() | 
| Member | getMember()Return the Member that produced this injection point. | 
| Annotation | getQualifier()Return the qualifier annotation added to the injection point. | 
| Class<?> | getType()Return the type required to satisfy the injection point. | 
| int | hashCode() | 
| boolean | isNullable() | 
| String | toString() | 
public SimpleInjectionPoint(@Nullable Annotation qualifier, Class<?> type, boolean nullable)
public Class<?> getErasedType()
getErasedType in interface InjectionPointInjectionPoint.getType()public Member getMember()
InjectionPointgetMember in interface InjectionPointpublic boolean isNullable()
isNullable in interface InjectionPointpublic Class<?> getType()
InjectionPointgetType in interface InjectionPoint@Nullable public Annotation getQualifier()
InjectionPointQualifier. If the injection point is not qualified, this will
 return null.getQualifier in interface InjectionPoint@Nullable public <A extends Annotation> A getAttribute(Class<A> atype)
InjectionPointA, then null is
 returned.getAttribute in interface InjectionPointatype - Attribute annotation type.  It must be annotated with Attribute.@Nonnull public Collection<Annotation> getAttributes()
getAttributes in interface InjectionPointCopyright © 2016 GroupLens Research. All rights reserved.