@Override protected Injectable parseAccessibleObject(AccessibleObject field, Type fieldType) { Context context = field.getAnnotation(Context.class); if (context != null) { return InjectableFactory.getInstance().createContextParam(GenericsUtils .getClassType(fieldType, ((Member) field).getDeclaringClass()), field.getAnnotations(), (Member)field); } return null; }
injectable = createFormParam(form.value(), classType, genericType, annotations, member); } else if (context != null) { injectable = createContextParam(classType, annotations, member); } else { injectable = createEntityParam(classType, genericType, annotations, member);