void () { SmartPointerManager pointerManager = SmartPointerManager.getInstance(myFile.getProject()); if (startPointer != null) { pointerManager.removePointer(startPointer); } if (endPointer != null) { pointerManager.removePointer(endPointer); } }