@SuppressWarnings("unchecked")
  public final void apply(@NotNull Editor editor, @NotNull PySmartEnterProcessor processor, @NotNull PsiElement element)
    throws IncorrectOperationException {
    if (myClass.isInstance(element) && isApplicable(editor, (T)element)) {
      doApply(editor, processor, (T)element);
    }
  }
@SuppressWarnings("unchecked")
  public final void apply(@NotNull Editor editor, @NotNull PySmartEnterProcessor processor, @NotNull PsiElement element)