Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Class<?> |
getInjecteeClass()
Returns the parent class for this injectee.
|
ActiveDescriptor<?> |
getInjecteeDescriptor()
This returns the ActiveDescriptor of the injectee
if it is known
|
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.
|
Set<Annotation> |
getRequiredQualifiers()
This is the set of required qualifiers for this injectee.
|
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.
|
String |
toString() |
public Type getRequiredType()
Injectee
getRequiredType
in interface Injectee
public Set<Annotation> getRequiredQualifiers()
Injectee
getRequiredQualifiers
in interface Injectee
public int getPosition()
Injectee
getPosition
in interface Injectee
public Class<?> getInjecteeClass()
Injectee
getInjecteeClass
in interface Injectee
public AnnotatedElement getParent()
Injectee
public boolean isOptional()
Injectee
isOptional
in interface Injectee
public boolean isSelf()
Injectee
ActiveDescriptor
, isOptional must be
false and the set of required qualifiers must be emptypublic Unqualified getUnqualified()
Injectee
Unqualified
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 Injectee
Unqualified
annotation on the injection point, or null
if there is no Unqualified
annotation on the injection pointpublic ActiveDescriptor<?> getInjecteeDescriptor()
Injectee
getInjecteeDescriptor
in interface Injectee
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.