Package org.apache.bcel.util
Interface InstructionFinder.CodeConstraint
-
- Enclosing class:
- InstructionFinder
public static interface InstructionFinder.CodeConstraintCode patterns found may be checked using an additional user-defined constraint object whether they really match the needed criterion. I.e., check constraints that cannot expressed with regular expressions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckCode(InstructionHandle[] match)Checks if the matched code area is really useful.
-
-
-
Method Detail
-
checkCode
boolean checkCode(InstructionHandle[] match)
Checks if the matched code area is really useful.- Parameters:
match- array of instructions matching the requested pattern.- Returns:
- true if the matched area is really useful.
-
-