JavaLineBreakpointType () { SourcePosition position = getSourcePosition(); VirtualFile file = position.getFile().getVirtualFile(); int line = position.getLine(); for (XLineBreakpointType<?> type : XDebuggerUtil.getInstance().getLineBreakpointTypes()) { if (type instanceof JavaLineBreakpointType && type.canPutAt(file, line, myProject)) { return ((JavaLineBreakpointType)type); } } return null; }