@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { return other == null || other.isNull(); } }
@Override public final boolean matches(final INode other, final Match match) { return other == null || other.isNull() || _node.matches(other, match); } }
@Override public final boolean matches(final INode other, final Match match) { match.add(_groupName, other); return other != null && !other.isNull(); } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof PrimitiveExpression) { final PrimitiveExpression otherPrimitive = (PrimitiveExpression) other; return !other.isNull() && (_value == ANY_VALUE || _value == ANY_STRING && otherPrimitive._value instanceof String || Comparer.equals(_value, otherPrimitive._value)); } return false; } }
@Override public boolean matches(final INode other, final Match match) { return other instanceof TypeReferenceExpression && !other.isNull() && getType().matches(((TypeReferenceExpression) other).getType(), match); }
@Override public boolean matches(final INode other, final Match match) { return other instanceof PackageDeclaration && !other.isNull() && matchString(getName(), ((PackageDeclaration) other).getName()); }
@Override public boolean matches(final INode other, final Match match) { return other instanceof CaseLabel && !other.isNull() && getExpression().matches(((CaseLabel) other).getExpression(), match); } }
@Override public boolean matches(final INode other, final Match match) { return other instanceof BlockStatement && !other.isNull() && getStatements().matches(((BlockStatement) other).getStatements(), match); }
@Override public boolean matches(final INode other, final Match match) { return other instanceof CompilationUnit && !other.isNull() && getTypes().matches(((CompilationUnit) other).getTypes(), match); }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof WhileStatement) { final WhileStatement otherStatement = (WhileStatement) other; return !other.isNull() && getCondition().matches(otherStatement.getCondition(), match) && getEmbeddedStatement().matches(otherStatement.getEmbeddedStatement(), match); } return false; } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof DoWhileStatement) { final DoWhileStatement otherStatement = (DoWhileStatement) other; return !other.isNull() && getEmbeddedStatement().matches(otherStatement.getEmbeddedStatement(), match) && getCondition().matches(otherStatement.getCondition(), match); } return false; } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof IfElseStatement) { final IfElseStatement otherStatement = (IfElseStatement) other; return !other.isNull() && getCondition().matches(otherStatement.getCondition(), match) && getTrueStatement().matches(otherStatement.getTrueStatement(), match) && getFalseStatement().matches(otherStatement.getFalseStatement(), match); } return false; } }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof IfElseStatement) { final IfElseStatement otherStatement = (IfElseStatement) other; return !other.isNull() && getCondition().matches(otherStatement.getCondition(), match) && getTrueStatement().matches(otherStatement.getTrueStatement(), match) && getFalseStatement().matches(otherStatement.getFalseStatement(), match); } return false; } }