public class MockInjectionPoint extends Object implements InjectionPoint
Constructor and Description |
---|
MockInjectionPoint(Class<?> type,
Annotation qualifier,
boolean nullable) |
MockInjectionPoint(Class<?> type,
boolean nullable) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
<A extends Annotation> |
getAttribute(Class<A> atype) |
Collection<Annotation> |
getAttributes() |
Class<?> |
getErasedType() |
Member |
getMember() |
Annotation |
getQualifier() |
Type |
getType() |
int |
hashCode() |
boolean |
isNullable() |
public MockInjectionPoint(Class<?> type, boolean nullable)
public MockInjectionPoint(Class<?> type, Annotation qualifier, boolean nullable)
public Member getMember()
getMember
in interface InjectionPoint
public Type getType()
getType
in interface InjectionPoint
public Class<?> getErasedType()
getErasedType
in interface InjectionPoint
@Nullable public Annotation getQualifier()
getQualifier
in interface InjectionPoint
@Nullable public <A extends Annotation> A getAttribute(Class<A> atype)
getAttribute
in interface InjectionPoint
@Nonnull public Collection<Annotation> getAttributes()
getAttributes
in interface InjectionPoint
public boolean isNullable()
isNullable
in interface InjectionPoint
Copyright © 2016 GroupLens Research. All rights reserved.