code: private void assignContext(ElementContext context) {
          fields.stream()
                  .filter(f -> f.getAnnotation(Context.class) != null)
                  .forEach(f -> {
                      try {
                          f.set(view, context);
                      } catch (IllegalAccessException | IllegalArgumentException e) {
                          throw new DarcyException("Couldn't assign context to field," + f, e);
                      }
                  });
      }
docs: Sets fields annotated with {@link com.redhat.darcy.ui.annotations.Context @Context} with the
  specified context.