private void addType(Type t) {
    switch (t.getSort()) {
      case Type.ARRAY -> addType(t.getElementType());
      case Type.OBJECT -> addName(t.getClassName().replace('.', '/'));
      case Type.METHOD -> addMethodDesc(t.getDescriptor());
    }
  }
private void addType(Type t)