private ViewToIndexMapper createIndexMapper() {
		if (neverScroll) {
			return new PreMappedViewToIndexMapper(scrollable);
		}

		BigInteger numIndexes = scrollable.getIndexCount();
		if (numIndexes.equals(BigInteger.ZERO)) {
			return new UniformViewToIndexMapper(scrollable);
		}
		if (scrollable.isUniformIndex()) {
			int layoutHeight = scrollable.getHeight(BigInteger.ZERO);
			BigInteger totalScrollHeight = numIndexes.multiply(BigInteger.valueOf(layoutHeight));
			if (totalScrollHeight.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) < 0) {
				return new UniformViewToIndexMapper(scrollable);
			}
		}
		if (numIndexes.compareTo(BigInteger.valueOf(1000)) < 0) {
			return new PreMappedViewToIndexMapper(scrollable);
		}
		return new DefaultViewToIndexMapper(scrollable, viewport.getExtentSize().height);

	}
Sets this scroll pane to never show scroll bars. This is useful when you want a container
whose view is always as big as the component in this scroll pane.
@param b true to never scroll
Ghidra/Framework/Docking/src/main/java/docking/widgets/indexedscrollpane/IndexedScrollPane.java