code: public static ResolveInfo newResolveInfo(String displayName, String packageName) {
      return newResolveInfo(displayName, packageName, null);
    }
docs: Creates a {@link ResolveInfo}.
  
  @param displayName Display name.
  @param packageName Package name.
  @return Resolve info instance.