Registry / utility / scalac-compat-annotation-3

scalac-compat-annotation-3

JSON →
library0.1.4javamavenunverified

Provides annotations for cross-compilation compatibility between Scala 2 and Scala 3.

<dependency> <groupId>org.typelevel</groupId> <artifactId>scalac-compat-annotation_3</artifactId> <version>0.1.4</version> </dependency>
INSTALL
IMPORT
SIG · SCALAC-COMPAT-ANNO
S
scalac-compat-annotation-3
utilityjavav0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

compileTimeOnly
scalac.compat.annotation.compileTimeOnly

Use the compileTimeOnly annotation to prevent runtime usage.

import scalac.compat.annotation.compileTimeOnly object Example { @compileTimeOnly("This method should not be called") def deprecatedMethod(): Unit = ??? }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
scalac-compat-annotation-3 — mvn dependency:get scalac-compat-annotation-3 · libregistry