public static FieldPathEntry newArrayLookupEntry(int lookupIndex, DataType resultingDataType) {
        return new FieldPathEntry(lookupIndex, resultingDataType);
    }
Creates a new field path entry that references an array index.

@param lookupIndex The index to look up
@param resultingDataType The datatype of the contents of the array
@return The new field path entry
document/src/main/java/com/yahoo/document/FieldPathEntry.java