private static void appendType(StringBuilder sb, VarType type) {
    sb.append(type.getValue().replace('/', '.'));
    for (int i = 0; i < type.getArrayDim(); i++) {
      sb.append("[]");
    }
  }
private static void appendType(StringBuilder sb, VarType type)