`return (T) getFirstSubLoc().obtain(flags);` ?