All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface de.fub.bytecode.generic.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 Index

 o checkCode(InstructionHandle[])

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index