Interface ASTNodePredicate


public interface ASTNodePredicate
Predicate used to test AST nodes.
Since:
2.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tests whether the supplied node matches.
  • Method Details

    • matches

      boolean matches(ASTNode node)
      Tests whether the supplied node matches.
      Parameters:
      node - the node to test
      Returns:
      true if the node matches