+ Added methods:
+ Breakpoint.canHaveDependentBreakpoints()
,
+ Breakpoint.getBreakpointsToEnable()
,
+ Breakpoint.setBreakpointsToEnable()
,
+ Breakpoint.getBreakpointsToDisable()
,
+ Breakpoint.setBreakpointsToDisable()
.
+
true
if the dependent breakpoints are supported,
+ * false
otherwise.
+ * @since 1.34
+ */
+ public boolean canHaveDependentBreakpoints() {
+ return false;
+ }
+
+ /**
+ * Get the set of breakpoints that will be enabled after this breakpoint
+ * is hit.
+ *
+ * Not all breakpoint implementations honor dependent breakpoints.
+ * Use {@link #canHaveDependentBreakpoints()} to determine if the operation is supported.
+ * @return The set of breakpoints.
+ * @throws UnsupportedOperationException if the breakpoint does not support
+ * dependent breakpoints - see {@link #canHaveDependentBreakpoints()}.
+ * @since 1.34
+ */
+ @NonNull
+ public Set
+ * Not all breakpoint implementations honor dependent breakpoints.
+ * Use {@link #canHaveDependentBreakpoints()} to determine if the operation is supported.
+ * @throws UnsupportedOperationException if the breakpoint does not support
+ * dependent breakpoints - see {@link #canHaveDependentBreakpoints()}.
+ * @return The set of breakpoints.
+ * @since 1.34
+ */
+ @NonNull
+ public Set
+ * Not all breakpoint implementations honor dependent breakpoints.
+ * Use {@link #canHaveDependentBreakpoints()} to determine if the operation is supported.
+ * @param breakpointsToEnable The set of breakpoints.
+ * @throws UnsupportedOperationException if the breakpoint does not support
+ * dependent breakpoints - see {@link #canHaveDependentBreakpoints()}.
+ * @since 1.34
+ */
+ public void setBreakpointsToEnable(@NonNull Set
+ * Not all breakpoint implementations honor dependent breakpoints.
+ * Use {@link #canHaveDependentBreakpoints()} to determine if the operation is supported.
+ * @param breakpointsToEnable The set of breakpoints.
+ * @throws UnsupportedOperationException if the breakpoint does not support
+ * dependent breakpoints - see {@link #canHaveDependentBreakpoints()}.
+ * @since 1.34
+ */
+ public void setBreakpointsToDisable(@NonNull Set