code: public static ResolvableType forType(Type type, ResolvableType owner) {
          VariableResolver variableResolver = null;
          if (owner != null) {
              variableResolver = owner.asVariableResolver();
          }
          return forType(type, variableResolver);
      }
docs: Return a {@link ResolvableType} for the specified {@link Type} backed by the given owner type. Note: The resulting
  {@link ResolvableType} may not be {@link Serializable}.
  
  @param type the source type or {@code null}
  @param owner the owner type used to resolve variables
  @return a {@link ResolvableType} for the specified {@link Type} and owner
  @see #forType(Type)