code: void analyze(final MethodResult methodResult) {
          lock.lock();
          try {
              buildPackagePrefix(methodResult.getParentResource().getOriginalClass());
  
              determineReturnTypes(methodResult).stream()
                      // FEATURE handle several sub-resource impl's
                      .reduce((l, r) -> JavaUtils.determineMostSpecificType(l, r))
                      .ifPresent(t -> registerSubResourceJob(t, methodResult.getSubResource()));
          } finally {
              lock.unlock();
          }
      }
docs: Analyzes the sub-resource locator method as a class result (which will be the content of a method result).
  
  @param methodResult The method result of the sub-resource locator (containing the instructions, and a sub-resource class result)