eventUnqualified = (Unqualified) possibleQualifier;
}
}
// Get the injectees for the other parameters
InjecteeImpl injectees[] = new InjecteeImpl[parameterTypes.length];
for (int lcv = 0; lcv < injectees.length; lcv++) {
if (lcv == subscribeToPosition) {
injectees[lcv] = null;
}
else {
InjecteeImpl ii = new InjecteeImpl();
ii.setRequiredType(parameterTypes[lcv]);
Set<Annotation> parameterQualifiers = new HashSet<Annotation>();
Annotation parameterAnnotations[] = paramAnnotations[lcv];
boolean isOptional = false;
boolean isSelf = false;
Unqualified unqualified = null;
for (Annotation possibleQualifier : parameterAnnotations) {
if (ReflectionHelper.isAnnotationAQualifier(possibleQualifier)) {
parameterQualifiers.add(possibleQualifier);
}
if (Optional.class.equals(possibleQualifier.annotationType())) {
isOptional = true;
}
if (Self.class.equals(possibleQualifier.annotationType())) {
isSelf = true;
}
if (Unqualified.class.equals(possibleQualifier.annotationType())) {
unqualified = (Unqualified) possibleQualifier;
}
}
ii.setRequiredQualifiers(parameterQualifiers);
ii.setPosition(lcv);
ii.setParent(subscriber);
ii.setOptional(isOptional);
ii.setSelf(isSelf);
ii.setUnqualified(unqualified);
ii.setInjecteeDescriptor(injecteeDescriptor);
injectees[lcv] = ii;
}
}