@Override public boolean matches(final INode other, final Match match) { if (other instanceof ArrayCreationExpression) { final ArrayCreationExpression otherExpression = (ArrayCreationExpression) other; return !otherExpression.isNull() && getType().matches(otherExpression.getType(), match) && getDimensions().matches(otherExpression.getDimensions(), match) && getInitializer().matches(otherExpression.getInitializer(), match) && getAdditionalArraySpecifiers().matches(otherExpression.getAdditionalArraySpecifiers(), match); } return false; } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof ArrayCreationExpression) { final ArrayCreationExpression otherExpression = (ArrayCreationExpression) other; return !otherExpression.isNull() && getType().matches(otherExpression.getType(), match) && getDimensions().matches(otherExpression.getDimensions(), match) && getInitializer().matches(otherExpression.getInitializer(), match) && getAdditionalArraySpecifiers().matches(otherExpression.getAdditionalArraySpecifiers(), match); } return false; } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof ArrayCreationExpression) { final ArrayCreationExpression otherExpression = (ArrayCreationExpression) other; return !otherExpression.isNull() && getType().matches(otherExpression.getType(), match) && getDimensions().matches(otherExpression.getDimensions(), match) && getInitializer().matches(otherExpression.getInitializer(), match) && getAdditionalArraySpecifiers().matches(otherExpression.getAdditionalArraySpecifiers(), match); } return false; } }