jellyj.classfile.classgen
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. FindPatterrn.search() returns the matching code if and
only if CodeConstraint.checkCode() returns true.
- Author:
- JellyJ Design Group
- See Also: FindPattern
checkCode
public boolean checkCode(InstructionHandle[] match)
- Parameters:
- match - array of instructions matching the requested pattern