diff options
author | Martin Odersky <odersky@gmail.com> | 2015-04-25 13:41:22 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-04-25 13:41:44 +0200 |
commit | 8cec943e961c4d82c132855e56d1747cf968830b (patch) | |
tree | 93d23149c9c9ffaac331cee99535bdeb197c4c90 /src/scala/annotation | |
parent | 7ebc9e2f74e5452749a39f9423de0ba4bd91d7c2 (diff) | |
download | dotty-8cec943e961c4d82c132855e56d1747cf968830b.tar.gz dotty-8cec943e961c4d82c132855e56d1747cf968830b.tar.bz2 dotty-8cec943e961c4d82c132855e56d1747cf968830b.zip |
Allow separate compilation of Dotty using TASTY
Classfile parser now reads TASTY attributes or annotations and
unpickles them in order to allow for separate compilation.
Diffstat (limited to 'src/scala/annotation')
-rw-r--r-- | src/scala/annotation/internal/TASTYLongSignature.java | 12 | ||||
-rw-r--r-- | src/scala/annotation/internal/TASTYSignature.java | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/scala/annotation/internal/TASTYLongSignature.java b/src/scala/annotation/internal/TASTYLongSignature.java new file mode 100644 index 000000000..2278da258 --- /dev/null +++ b/src/scala/annotation/internal/TASTYLongSignature.java @@ -0,0 +1,12 @@ +package scala.annotation.internal; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface TASTYLongSignature { + public String[] bytes(); +} diff --git a/src/scala/annotation/internal/TASTYSignature.java b/src/scala/annotation/internal/TASTYSignature.java new file mode 100644 index 000000000..a6372f008 --- /dev/null +++ b/src/scala/annotation/internal/TASTYSignature.java @@ -0,0 +1,12 @@ +package scala.annotation.internal; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.TYPE) +public @interface TASTYSignature { + public String bytes(); +} |