JavaLineBreakpointType () { XBreakpointType<?, P> type = myXBreakpoint.getType(); // Nashorn breakpoints do not contain JavaLineBreakpointType if (type instanceof JavaLineBreakpointType) { return (JavaLineBreakpointType)type; } return null; }