| Modifier and Type | Field and Description |
|---|---|
| private ActiveDescriptor | |
| private boolean | |
| private boolean | |
| private AnnotatedElement | |
| private Class | |
| private int | |
| private Set | |
| private Type | |
| private Unqualified |
| Access | Constructor and Description |
|---|---|
| public | |
| public | InjecteeImpl(Type
The possibly null required type requiredType)Only the requiredType field will be set |
| public | InjecteeImpl(Injectee
The non-null Injectee to copy the values from copyMe)This is the copy constructor, which will copy all the values from the incoming Injectee |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getInjecteeClass()
Implements org. Returns the parent class for this injectee. |
| public ActiveDescriptor | getInjecteeDescriptor()
Implements org. This returns the ActiveDescriptor of the injectee if it is known |
| public AnnotatedElement | getParent()
Implements org. If this Injectee is in a constructor this will return the constructor being injected into. |
| public int | getPosition()
Implements org. If this Injectee is a constructor or method parameter, this will return the index of the parameter. |
| public Set | getRequiredQualifiers()
Implements org. This is the set of required qualifiers for this injectee. |
| public Type | getRequiredType()
Implements org. This is the required type of the injectee. |
| public Unqualified | getUnqualified()
Implements org. This method returns the |
| public boolean | isOptional()
Implements org. This method returns true if this injection point is annotated with VOptional. |
| public boolean | isSelf()
Implements org. This method returns true if this injection point is annotated with VSelf. |
| public void | setInjecteeDescriptor(ActiveDescriptor<?>
The injectee to be associated with this injectee injecteeDescriptor)Sets the descriptor to be associated with this injectee |
| public void | setOptional(boolean
true if this injectee is optional, false if required optional)Sets whether or not this Injectee should be considered optional |
| public void | setParent(AnnotatedElement
The parent (Field, Constructor or Method) which is
the parent of this Injectee parent)This setter sets both the parent and the injecteeClass fields. |
| public void | setPosition(int
The index position of the parameter, or -1 if descrbing a field position)Sets the position of this Injectee. |
| public void | setRequiredQualifiers(Set<Annotation>
The non-null set of required qualifiers requiredQualifiers)Sets the required qualifiers for this Injectee |
| public void | setRequiredType(Type
The required type of this injectee requiredType)Sets the required type of this Injectee |
| public void | setSelf(boolean
true if this is a self-referencing Injectee, and false otherwise self)Sets whether or not this is a self-referencing injectee |
| public void | setUnqualified(Unqualified
The unqualified annotation to be associated with this injectee unqualified)Sets the unqualified annotation to be associated with this injectee |
| public String |
| injecteeDescriptor | back to summary |
|---|---|
| private ActiveDescriptor<?> injecteeDescriptor | |
| isOptional | back to summary |
|---|---|
| private boolean isOptional | |
| isSelf | back to summary |
|---|---|
| private boolean isSelf | |
| parent | back to summary |
|---|---|
| private AnnotatedElement parent | |
| pClass | back to summary |
|---|---|
| private Class<?> pClass | |
| position | back to summary |
|---|---|
| private int position | |
| qualifiers | back to summary |
|---|---|
| private Set<Annotation> qualifiers | |
| requiredType | back to summary |
|---|---|
| private Type requiredType | |
| unqualified | back to summary |
|---|---|
| private Unqualified unqualified | |
| InjecteeImpl | back to summary |
|---|---|
| public InjecteeImpl() None of the fields of the returned object will be set | |
| InjecteeImpl | back to summary |
|---|---|
| public InjecteeImpl(Type requiredType) Only the requiredType field will be set
| |
| InjecteeImpl | back to summary |
|---|---|
| public InjecteeImpl(Injectee copyMe) This is the copy constructor, which will copy all the values from the incoming Injectee
| |
| getInjecteeClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Returns the parent class for this injectee. This is the class of the object that will be injected into. This field may return null if this is from a service lookup
| |
| getInjecteeDescriptor | back to summary |
|---|---|
| public ActiveDescriptor Implements org. Doc from org. This returns the ActiveDescriptor of the injectee if it is known
| |
| getParent | back to summary |
|---|---|
| public AnnotatedElement getParent() Implements org. Doc from org. If this Injectee is in a constructor this will return the constructor being injected into. If this Injectee is in a method this will return the method being injected into. If this injectee represents a field, this will return the field being injected into. This injectee may be neither in which case this will return null
| |
| getPosition | back to summary |
|---|---|
| public int getPosition() Implements org. Doc from org. If this Injectee is a constructor or method parameter, this will return the index of the parameter. If this Injectee is a field, this will return -1
| |
| getRequiredQualifiers | back to summary |
|---|---|
| public Set Implements org. Doc from org. This is the set of required qualifiers for this injectee. All of these qualifiers must be present on the implementation class of the object that is injected into this injectee. Note that the fields of the annotation must also match
| |
| getRequiredType | back to summary |
|---|---|
| public Type getRequiredType() Implements org. Doc from org. This is the required type of the injectee. The object that is injected into this point must be type-safe with regards to this type
| |
| getUnqualified | back to summary |
|---|---|
| public Unqualified getUnqualified() Implements org. Doc from org. This method returns the
| |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() Implements org. Doc from org. This method returns true if this injection point is annotated with VOptional. In this case if there is no definition for the injection point in the system it is allowable for the system to merely return null
| |
| isSelf | back to summary |
|---|---|
| public boolean isSelf() Implements org. Doc from org. This method returns true if this injection point is annotated
with VSelf. In this case the required type must have
a raw class of
| |
| setInjecteeDescriptor | back to summary |
|---|---|
| public void setInjecteeDescriptor(ActiveDescriptor<?> injecteeDescriptor) Sets the descriptor to be associated with this injectee
| |
| setOptional | back to summary |
|---|---|
| public void setOptional(boolean optional) Sets whether or not this Injectee should be considered optional
| |
| setParent | back to summary |
|---|---|
| public void setParent(AnnotatedElement parent) This setter sets both the parent and the injecteeClass fields.
| |
| setPosition | back to summary |
|---|---|
| public void setPosition(int position) Sets the position of this Injectee. The position represents the index of the parameter, or -1 if this Injectee is describing a field.
| |
| setRequiredQualifiers | back to summary |
|---|---|
| public void setRequiredQualifiers(Set<Annotation> requiredQualifiers) Sets the required qualifiers for this Injectee
| |
| setRequiredType | back to summary |
|---|---|
| public void setRequiredType(Type requiredType) Sets the required type of this Injectee
| |
| setSelf | back to summary |
|---|---|
| public void setSelf(boolean self) Sets whether or not this is a self-referencing injectee
| |
| setUnqualified | back to summary |
|---|---|
| public void setUnqualified(Unqualified unqualified) Sets the unqualified annotation to be associated with this injectee
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |