else {
InjectionPointHandler handler
= getBeanManager().getInjectionPointHandler(field);
if (handler != null) {
ConfigProgram program = new FieldHandlerProgram(field, handler);
_injectProgramList.add(program);
}
}
}
for (AnnotatedMethod method : type.getMethods()) {
if (method.getAnnotations().size() == 0)
continue;
if (method.isAnnotationPresent(Inject.class)) {
// boolean isOptional = isQualifierOptional(field);
List<AnnotatedParameter> params = method.getParameters();
InjectionPoint []args = new InjectionPoint[params.size()];
for (int i = 0; i < args.length; i++) {
InjectionPoint ij
= new InjectionPointImpl(getBeanManager(), this, params.get(i));
_injectionPointSet.add(ij);
args[i] = ij;
}
_injectProgramList.add(new MethodInjectProgram(method.getJavaMember(),
args));
}
else {
InjectionPointHandler handler
= getBeanManager().getInjectionPointHandler(method);
if (handler != null) {
ConfigProgram program = new MethodHandlerProgram(method, handler);
_injectProgramList.add(program);
}
}
}