Indices newIndices = newArgNode.getIndices();
for (byte j = 0; j < TYPES_COUNT; ++j) {
if (oldArgIndices.size(IndexType.getType(j)) < newIndices.size(IndexType.getType(j))) {
if (oldArgIndices.size(IndexType.getType(j)) != 0)
throw new IllegalArgumentException("Error in field arg indices.");
newArgIndices.addAll(newIndices.getOfType(IndexType.getType(j)).getAllIndices());
}
}
pntf.argumentsIndices[i] = IndicesFactory.createSimple(null, newArgIndices.toArray());
}
}