@Nullable
        @Override
        public PsiElement resolve() {
          if (isTokenDatatype(getValue())) {
            return getElement();
          }
          return super.resolve();
        }
@Nullable
        @Override
        public PsiElement resolve()