de.fub.bytecode.generic
Interface CodeConstraint


public interface CodeConstraint

Code patterns found with the FindPattern class may receive an additional CodeConstraint argument that checks the found piece of code for user-defined constraints. I.e. FindPattern.search() returns the matching code if and only if CodeConstraint.checkCode() returns true.

Version:
$Id: CodeConstraint.java,v 1.3 1999/05/04 13:12:52 dahm Exp $
Author:
M. Dahm
See Also:
FindPattern

Method Summary
 boolean checkCode(InstructionHandle[] match)
           
 

Method Detail

checkCode

public boolean checkCode(InstructionHandle[] match)
Parameters:
match - array of instructions matching the requested pattern