@Nonnull
	public TextProvider getLineNumberTextProvider(@Nonnull Workspace workspace,
												  @Nonnull WorkspaceResource resource,
												  @Nonnull FileBundle bundle,
												  @Nonnull FileInfo declaringFile,
												  int line) {
		return () -> {
			if (declaringFile.isTextFile()) {
				int index = line - 1;
				String[] lines = declaringFile.asTextFile().getTextLines();
				if (index >= 0 && index < lines.length)
					return formatConfig.filterMaxLength(lines[index]);
			}
			return "???";
		};
	}
@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param declaringFile
		Containing file.
@param line
		The line in the file to get the text of.

@return Text provider for the line number.
recaf-ui/src/main/java/software/coley/recaf/services/cell/text/TextProviderService.java