@Nullable
	private AstResolveResult resolvePosition(int pos, boolean doOffset) {
		if (unit == null || resolver == null) return null;
		if (doOffset) pos = offset(pos);
		return resolver.resolveThenAdapt(pos);
	}
@param pos
		Offset in the source.

@return Resolution of content at the given offset.
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/source/JavaContextActionSupport.java