コード例 #1
0
 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());
 }
コード例 #2
0
 private boolean isJavaType(XBreakpoint xBreakpoint) {
   return xBreakpoint.getType() instanceof JavaBreakpointType;
 }