Package: org.codehaus.groovy.macro.matcher

## [Java] Interface ASTNodePredicate

-     public interface ASTNodePredicate

  Predicate used to test AST nodes.

  Since:
    2.5.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `matches(ASTNode node)` Tests whether the supplied node matches.

- - ### Method Detail

    - #### public boolean matches(ASTNode node)

      Tests whether the supplied node matches.

      Parameters:
        `node` - the node to test
      Returns:
        `true` if the node matches