code: public static String partiallyUnqualify(String name, String qualifierBase) {
      if (name == null || !name.startsWith(qualifierBase)) {
        return name;
      }
      return name.substring(qualifierBase.length() + 1); // +1 to start after the following '.'
    }
docs: Partially unqualifies a qualified name.  For example, with a base of 'org.hibernate' the name
  'org.hibernate.internal.util.StringHelper' would become 'util.StringHelper'.
  
  @param name          The (potentially) qualified name.
  @param qualifierBase The qualifier base.
  @return The name itself, or the partially unqualified form if it begins with the qualifier base.