public static List<ClangToken> getTokensFromView(Field[] fields, Address address) {

		AddressSetView set = new AddressSet(address);
		List<ClangToken> result = new ArrayList<>();
		for (Field f : fields) {
			ClangTextField tf = (ClangTextField) f;
			List<ClangToken> fieldTokens = tf.getTokens();
			for (ClangToken token : fieldTokens) {
				if (intersects(token, set)) {
					result.add(token);
				}
			}
		}
		return result;
	}
Similar to {@link #getTokens(ClangNode, AddressSetView)}, but uses the tokens from
the given view fields.  Sometimes the tokens in the model (represented by the
{@link ClangNode}) are different than the fields in the view (such as when a list of
comment tokens are condensed into a single comment token).

@param fields the fields to check
@param address the address each returned token must match
@return the matching tokens
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerUtils.java