I think you can merge following lines
```
String[] filterArgs = null;
...
            filterArgs = new String[argsStringList.size()];
            filterArgs = argsStringList.toArray(filterArgs);
...
return new Object[]{filterString, filterArgs};
```
into one line:
```
return new Object[]{filterString, argsStringList.toArray(new String[argsStringList.size()])};
```