public final boolean matches(final INode other, final Match match) {
if (other instanceof AstNode) {
final INode lastInGroup = lastOrDefault(match.get(_referencedGroupName));
if (lastInGroup instanceof VariableDeclarationStatement) {
final VariableDeclarationStatement referenced = (VariableDeclarationStatement) lastInGroup;
final AstNodeCollection<VariableInitializer> variables = referenced.getVariables();
return variables.hasSingleElement() &&
matchString(
variables.firstOrNullObject().getName(),
((AstNode) other).getChildByRole(Roles.IDENTIFIER).getName()