org.apache.bcel.util

## Interface InstructionFinder.CodeConstraint

- Enclosing class:
    InstructionFinder

      public static interface InstructionFinder.CodeConstraint

  Code patterns found may be checked using an additional user-defined constraint object whether they really match the needed criterion. I.e., check constraints that can not expressed with regular expressions.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `checkCode(InstructionHandle[] match)`

- - ### Method Detail

    - #### checkCode

          boolean checkCode(InstructionHandle[] match)

      Parameters:
        `match` - array of instructions matching the requested pattern
      Returns:
        true if the matched area is really useful

Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.