Exemplo n.º 1
0
  private void checkExtractBadOperationList(int[] expected) {
    if (!isInitialized) throw wrapper.extractNotInitialized();

    int tc = realType().kind().value();
    for (int ctr = 0; ctr < expected.length; ctr++) if (tc == expected[ctr]) return;

    List list = new ArrayList();
    for (int ctr = 0; ctr < expected.length; ctr++) list.add(getTCKindName(expected[ctr]));

    String tcName = getTCKindName(tc);
    throw wrapper.extractWrongTypeList(list, tcName);
  }