protected T opMatches(PatternExpression expression) {
		return ops.stream()
				.filter(op -> op.isInstance(expression))
				.map(op -> op.cast(expression))
				.findAny()
				.orElse(null);
	}
Base implementation for expression matchers

@param <T> the type of expression matched
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/expr/match/AbstractExpressionMatcher.java