code: public static void setViewFields(final Object object, final Activity activity) {
          setViewFields(object, new ViewFinder() {
              @Override
              public View findViewById(int viewId) {
                  return activity.findViewById(viewId);
              }
          });
      }
docs: Parse {@link ViewId} annotation and try to assign the view with that id to the annotated field.
  It will throw a {@link ClassCastException} if the field and the view with the given ID have different types.
  
  @param object   object where the annotation is.
  @param activity activity that contains a view with the viewId given in the annotation.