Properties (@Nullable Project project) { Properties res = new Properties(); if (Registry.is("debugger.capture.points.agent.annotations")) { int idx = 0; for (CaptureSettingsProvider.AgentPoint point : getAnnotationPoints(project)) { res.setProperty((point.isCapture() ? "capture" : "insert") + idx++, point.myClassName + AgentPoint.SEPARATOR + point.myMethodName + AgentPoint.SEPARATOR + point.myMethodDesc + AgentPoint.SEPARATOR + point.myKey.asString()); } } return res; }