public boolean isAbleToInstantiate(Target<?> target) { Object value = request.getAttribute(target.getName()); return value != null && target.getClassType().isInstance(value); }
public Object instantiate(Target<?> target, Parameters params) { return request.getAttribute(target.getName()); }