org.kahina.core.breakpoint
Class KahinaBreakpointFactory
java.lang.Object
org.kahina.core.breakpoint.KahinaBreakpointFactory
public class KahinaBreakpointFactory
- extends Object
A collection of convenience methods for creating simple breakpoints.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KahinaBreakpointFactory
public KahinaBreakpointFactory()
createMatchingLabelBreakpoint
public static KahinaBreakpoint createMatchingLabelBreakpoint(String name,
String pattern,
int type)
- Creates a breakpoint for nodes whose labels match a given regular expression.
- Parameters:
name - a user-readable name for this breakpointpattern - the regular expression that node labels are to matchtype - one of the constant values in KahinaBreakpointType
- Returns:
- a new breakpoint matching any tree node whose label matches the pattern