FieldBreakpoint (Document document, int lineIndex, String fieldName) { ThreadingAssertions.assertEventDispatchThread(); XLineBreakpoint xBreakpoint = addXLineBreakpoint(JavaFieldBreakpointType.class, document, lineIndex); Breakpoint javaBreakpoint = getJavaBreakpoint(xBreakpoint); if (javaBreakpoint instanceof FieldBreakpoint fieldBreakpoint) { fieldBreakpoint.setFieldName(fieldName); addBreakpoint(javaBreakpoint); return fieldBreakpoint; } return null; }