{"id":55654,"library":"scalac-compat-annotation-3","title":"Scalac Compat Annotation","description":"Provides annotations for cross-compilation compatibility between Scala 2 and Scala 3.","status":"active","version":"0.1.4","language":"java","source_language":null,"source_url":"https://github.com/typelevel/scalac-compat","tags":["scala","compatibility","annotation","typelevel"],"install":[{"cmd":"<dependency>\n  <groupId>org.typelevel</groupId>\n  <artifactId>scalac-compat-annotation_3</artifactId>\n  <version>0.1.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.typelevel:scalac-compat-annotation_3:0.1.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"compileTimeOnly","correct":"scalac.compat.annotation.compileTimeOnly"}],"quickstart":{"code":"import scalac.compat.annotation.compileTimeOnly\n\nobject Example {\n  @compileTimeOnly(\"This method should not be called\")\n  def deprecatedMethod(): Unit = ???\n}","lang":"java","description":"Use the compileTimeOnly annotation to prevent runtime usage."},"warnings":[],"env_vars":null,"search_vec":"'2':13 '3':16 'annot':3,5,19 'compat':2,10,18 'compil':9 'cross':8 'cross-compil':7 'provid':4 'scala':12,15,17 'scalac':1 'typelevel':20","created_at":"2026-06-15T10:00:41.441040+00:00","updated_at":"2026-06-15T10:00:41.441040+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/typelevel/scalac-compat","github":"https://github.com/typelevel/scalac-compat","docs":"https://appdoc.app/artifact/org.typelevel/scalac-compat-annotation_3/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}