boolean (final PsiElement psiElement, final int offset, final String elementText) { for (DynamicContextProvider provider: DynamicContextProvider.EP_NAME.getExtensionList()) { final int dynamicOffset = provider.getOffset(psiElement, offset, elementText); if (dynamicOffset != offset) { return true; } } return false; }