@Override
  public boolean isDeclarationWriteAccess(@NotNull PsiElement element) {
    if (element instanceof GrVariable && ((GrVariable)element).getInitializerGroovy() != null) {
      return true;
    }
    return false;
  }
@Override
  public boolean isDeclarationWriteAccess(@NotNull PsiElement element)