@Override
		public void visit(@Nonnull ResultSink resultSink,
						  @Nonnull FilePathNode filePath,
						  @Nonnull FileInfo fileInfo) {
			if (delegate != null) delegate.visit(resultSink, filePath, fileInfo);

			// Search text files text content on a line by line basis
			if (fileInfo.isTextFile()) {
				String[] lines = fileInfo.asTextFile().getTextLines();

				// Split by single newline (including goofy carriage returns)
				for (int i = 0; i < lines.length; i++) {
					String lineText = lines[i];
					if (isMatch(lineText))
						resultSink.accept(filePath.child(i + 1), lineText);
				}
			}
		}
Points {@link #visitor(FileSearchVisitor)} to file content.
recaf-core/src/main/java/software/coley/recaf/services/search/query/StringQuery.java