public boolean f(Integer index) {
return AnnotationHelper.getMethodArgumentAnnotationDeeply(method, index - 1, IndexParam.class) != null;
}
}, new NumberIterator(args.length)));
}
IndexParamPagingPair indexParamPagingPair = AnnotationHelper.getAnnotationDeeply(method, IndexParamPagingPair.class);
Entry<Integer, Integer> pagingPair = new Pair<Integer, Integer>(0, 0);
if (indexParamPagingPair != null) {
// Collect method parameters pairs that represent an EntityIndexConfig property name and corresponding value
pagingPair = new Pair<Integer, Integer>(
(Integer) args[indexParamPagingPair.startIndexIndex()],
(Integer) args[indexParamPagingPair.maxResultsIndex()]);
}
if (entries.size() == 1) {
Entry<String, Object> entry = Atom.getFirstOrThrow(entries);