code: private String getType(String qName) {
          int index = qName.lastIndexOf('.');
          if (index == -1) {
              throw new UnsupportedOperationException();
          }
          String typeName = qName.substring(0, index);
          return typeName;
      }
docs: /