code: public ResourceAddress newResourceAddress(String location,
                                                ResourceOptions options,
                                                Object qualifier) {
          Objects.requireNonNull(options, "options cannot be null");
          ResourceAddressFactorySpi<?> resourceAddressFactory = findResourceAddressFactory(getScheme(location));
          return resourceAddressFactory.newResourceAddress(location, options, qualifier);
      }
docs: Creates a new resource address for the given location and options
  
  @param options cannot be null, otherwise NullPointerException is thrown
  @return resource address