This project contains annotations supporting SCROLL.
1. Edit, develop and build:
- Clone this repo.
- Use JDK 17+.
- Intellij IDE: use the built-in import SBT project functionality.
- Invoke
sbt package. The resulting jar is stored undertarget/scala-3.8.3/.
2. Use the annotation library:
- Add
"com.github.max-leuthaeuser" %% "scrollannotations" % "0.1.0"to your sbt configuration as dependency. - Enable Scala 3 experimental language support with
scalacOptions += "-experimental". - Use
@Inspecton a SCROLL role or compartment class to prewarm reflection caches without Scala 2 macro paradise.