code: public Symbol resolveBinaryNameOrIdent(String name) {
          ModuleSymbol msym;
          String typeName;
          int sep = name.indexOf('/');
          if (sep == -1) {
              msym = modules.getDefaultModule();
              typeName = name;
          } else if (source.allowModules()) {
              Name modName = names.fromString(name.substring(0, sep));
  
              msym = moduleFinder.findModule(modName);
              typeName = name.substring(sep + 1);
          } else {
              log.error(Errors.InvalidModuleSpecifier(name));
              return silentFail;
          }
  
          return resolveBinaryNameOrIdent(msym, typeName);
      }
docs: Resolve an identifier which may be the binary name of a class or
  the Java name of a class or package.
  @param name      The name to resolve