IntToIntMap (@NotNull final Flags visibleIndexes) { return new IntToIntMap() { @Override public int shortSize() { return 0; } @Override public int longSize() { return visibleIndexes.size(); } @Override public int getLongIndex(int shortIndex) { return 0; } @Override public int getShortIndex(int longIndex) { return 0; } }; }