private static StructureOfIndices[] generateStructures(NameDescriptorForTensorFieldImpl parent, final int[] orders) { StructureOfIndices[] structureOfIndices = parent.structuresOfIndices.clone(); int j; for (int i = 0; i < orders.length; ++i) { for (j = 0; j < orders[i]; ++j) structureOfIndices[0] = structureOfIndices[0].append(structureOfIndices[i + 1].getInverted()); } return structureOfIndices; } }