@Override
  public boolean canSelect(@NotNull PsiElement e) {
    return (e instanceof GroovyPsiElement || e.getLanguage() == GroovyLanguage.INSTANCE) &&
           !(e.getNode().getElementType() == GroovyTokenTypes.mDOLLAR);
  }
@Override
  public boolean canSelect(@NotNull PsiElement e)