Well, its not working. GetState gets called and it returns data, but when i open the project again its empty. I also don't find any information in my intellij logs.
I obtain the service via
its registered as
<!-- Module HPackage -->
and here are the relevant classes:
the main state wrapper is https://github.com/LeanderK/intellij-haskforce/blob/architecture-abstractions/src/com/haskforce/tools/cabal/packages/CabalPackageState.java
the interface for the wrapped state is here https://github.com/LeanderK/intellij-haskforce/blob/architecture-abstractions/src/com/haskforce/system/packages/HPackage.scala (HPackageState)
and the implementing class is here https://github.com/LeanderK/intellij-haskforce/blob/architecture-abstractions/src/com/haskforce/tools/cabal/packages/CabalPackageState.java
here is my service: https://github.com/LeanderK/intellij-haskforce/blob/architecture-abstractions/src/com/haskforce/system/packages/HPackageModule.scala
i am not quite sure if i got the annotation right, but i don't find any persitet xml-data in any file in the project.