public interface BreakpointStratifier
By default, breakpoints created via static methods like
LineBreakpoint.create(String, int)
, etc. are targeted to the default
Java stratum. When the breakpoint's location is in a different language,
adjustments of it's properties might be necessary.
When an implementation of this interface is
registered into the lookup
,
it is called with newly created JPDA breakpoint. Depending on its current
properties, the implementation can adapt the breakpoint to the language
stratum as necessary.
Currently applies to creation of LineBreakpoint
with non-empty URL only.
It can be extended to other breakpoint types in the future.
Modifier and Type | Method and Description |
---|---|
void |
stratify(JPDABreakpoint breakpoint)
Adjust the breakpoint properties according to its specific language stratum.
|
void stratify(JPDABreakpoint breakpoint)
breakpoint
- the breakpoint to adjust.