SafeDeleteProcessorDelegate () { if (myElements.length == 1) { for (SafeDeleteProcessorDelegate delegate : SafeDeleteProcessorDelegate.EP_NAME.getExtensionList()) { if (delegate.handlesElement(myElements[0])) { return delegate; } } } return null; }