|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.hk2.internal.InjecteeImpl
public class InjecteeImpl
Method Summary | |
---|---|
Class<?> |
getInjecteeClass()
Returns the parent class for this injectee. |
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. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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
getParent
in interface 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 empty
isSelf
in interface Injectee
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |