private Breakpoint createJavaBreakpoint(XBreakpoint xBreakpoint) {
   if (xBreakpoint.getType() instanceof JavaBreakpointType) {
     return ((JavaBreakpointType) xBreakpoint.getType())
         .createJavaBreakpoint(myProject, xBreakpoint);
   }
   throw new IllegalStateException("Unsupported breakpoint type:" + xBreakpoint.getType());
 }
 private boolean isJavaType(XBreakpoint xBreakpoint) {
   return xBreakpoint.getType() instanceof JavaBreakpointType;
 }