Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface DE.fub.inf.JVM.ClassGen.CodeConstraint


public abstract 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. FindPatterrn.search() returns the matching code if and only if CodeConstraint.checkCode() returns true.

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD