boolean (final PsiElement psiElement, PsiElement[] elements) { if (psiElement != null) { for(MoveHandlerDelegate delegate: MoveHandlerDelegate.EP_NAME.getExtensionList()) { if (delegate.isValidTarget(psiElement, elements)){ return true; } } } return false; }