| Modifier and Type | Field and Description |
|---|---|
private ActiveDescriptor<?> |
injecteeDescriptor |
private boolean |
isOptional |
private boolean |
isSelf |
private java.lang.reflect.AnnotatedElement |
parent |
private java.lang.Object |
parentIdentifier |
private java.lang.Class<?> |
pClass |
private int |
position |
private java.util.Set<java.lang.annotation.Annotation> |
qualifiers |
private java.lang.reflect.Type |
requiredType |
private Unqualified |
unqualified |
| Constructor and Description |
|---|
SystemInjecteeImpl(java.lang.reflect.Type requiredType,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
int position,
java.lang.reflect.AnnotatedElement parent,
boolean isOptional,
boolean isSelf,
Unqualified unqualified,
ActiveDescriptor<?> injecteeDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class<?> |
getInjecteeClass()
Returns the parent class for this injectee.
|
ActiveDescriptor<?> |
getInjecteeDescriptor()
This returns the ActiveDescriptor of the injectee
if it is known
|
java.lang.reflect.AnnotatedElement |
getParent()
If this Injectee is in a constructor this will return the
constructor being injected into.
|
int |
getPosition()
If this Injectee is a constructor or method parameter, this will
return the index of the parameter.
|
java.util.Set<java.lang.annotation.Annotation> |
getRequiredQualifiers()
This is the set of required qualifiers for this injectee.
|
java.lang.reflect.Type |
getRequiredType()
This is the required type of the injectee.
|
Unqualified |
getUnqualified()
This method returns the
Unqualified annotation if it is present
on the injection point. |
int |
hashCode() |
boolean |
isOptional()
This method returns true if this injection point is annotated
with VOptional.
|
boolean |
isSelf()
This method returns true if this injection point is annotated
with VSelf.
|
(package private) void |
resetInjecteeDescriptor(ActiveDescriptor<?> injecteeDescriptor) |
java.lang.String |
toString() |
private final java.lang.reflect.Type requiredType
private final java.util.Set<java.lang.annotation.Annotation> qualifiers
private final int position
private final java.lang.Class<?> pClass
private final java.lang.reflect.AnnotatedElement parent
private final boolean isOptional
private final boolean isSelf
private final Unqualified unqualified
private ActiveDescriptor<?> injecteeDescriptor
private final java.lang.Object parentIdentifier
SystemInjecteeImpl(java.lang.reflect.Type requiredType,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
int position,
java.lang.reflect.AnnotatedElement parent,
boolean isOptional,
boolean isSelf,
Unqualified unqualified,
ActiveDescriptor<?> injecteeDescriptor)
public java.lang.reflect.Type getRequiredType()
InjecteegetRequiredType in interface Injecteepublic java.util.Set<java.lang.annotation.Annotation> getRequiredQualifiers()
InjecteegetRequiredQualifiers in interface Injecteepublic int getPosition()
InjecteegetPosition in interface Injecteepublic java.lang.Class<?> getInjecteeClass()
InjecteegetInjecteeClass in interface Injecteepublic java.lang.reflect.AnnotatedElement getParent()
Injecteepublic boolean isOptional()
InjecteeisOptional in interface Injecteepublic boolean isSelf()
InjecteeActiveDescriptor, isOptional must be
false and the set of required qualifiers must be emptypublic Unqualified getUnqualified()
InjecteeUnqualified annotation if it is present
on the injection point. This can be used to determine what qualifiers
should NOT be given to the injection point.getUnqualified in interface InjecteeUnqualified annotation on the injection point, or null
if there is no Unqualified annotation on the injection pointpublic ActiveDescriptor<?> getInjecteeDescriptor()
InjecteegetInjecteeDescriptor in interface Injecteevoid resetInjecteeDescriptor(ActiveDescriptor<?> injecteeDescriptor)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object