aboutsummaryrefslogtreecommitdiff
path: root/src/scala/annotation/internal
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-10-18 17:42:57 +0200
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:06 +0100
commit2769e1b5b680868433c91b37d44f9420d728c4ac (patch)
treeba66613269a7b50746f124a92d9c970411521825 /src/scala/annotation/internal
parent2d10c87ce537fb42fdb134efcae53dca7305a7b7 (diff)
downloaddotty-2769e1b5b680868433c91b37d44f9420d728c4ac.tar.gz
dotty-2769e1b5b680868433c91b37d44f9420d728c4ac.tar.bz2
dotty-2769e1b5b680868433c91b37d44f9420d728c4ac.zip
separate lib from compiler
Diffstat (limited to 'src/scala/annotation/internal')
-rw-r--r--src/scala/annotation/internal/Alias.scala10
-rw-r--r--src/scala/annotation/internal/AnnotationDefault.scala8
-rw-r--r--src/scala/annotation/internal/Body.scala8
-rw-r--r--src/scala/annotation/internal/Child.scala16
-rw-r--r--src/scala/annotation/internal/InlineParam.scala6
-rw-r--r--src/scala/annotation/internal/Repeated.scala10
-rw-r--r--src/scala/annotation/internal/SourceFile.scala10
-rw-r--r--src/scala/annotation/internal/TASTYLongSignature.java12
-rw-r--r--src/scala/annotation/internal/TASTYSignature.java12
-rw-r--r--src/scala/annotation/internal/UnsafeNonvariant.scala8
10 files changed, 0 insertions, 100 deletions
diff --git a/src/scala/annotation/internal/Alias.scala b/src/scala/annotation/internal/Alias.scala
deleted file mode 100644
index e3f56e70c..000000000
--- a/src/scala/annotation/internal/Alias.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation to record a Scala2 pickled alias.
- * @param aliased A TermRef pointing to the aliased field.
- */
-class Alias(aliased: Any) extends Annotation {
-
-}
diff --git a/src/scala/annotation/internal/AnnotationDefault.scala b/src/scala/annotation/internal/AnnotationDefault.scala
deleted file mode 100644
index 5280d091c..000000000
--- a/src/scala/annotation/internal/AnnotationDefault.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation to tag Java annotation default values */
-class AnnotationDefault extends Annotation {
-
-}
diff --git a/src/scala/annotation/internal/Body.scala b/src/scala/annotation/internal/Body.scala
deleted file mode 100644
index b6aa0c0fb..000000000
--- a/src/scala/annotation/internal/Body.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** The class associated with a `BodyAnnotation`, which indicates
- * an inline method's right hand side
- */
-final class Body() extends Annotation
diff --git a/src/scala/annotation/internal/Child.scala b/src/scala/annotation/internal/Child.scala
deleted file mode 100644
index c90871945..000000000
--- a/src/scala/annotation/internal/Child.scala
+++ /dev/null
@@ -1,16 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation to indicate a child class or object of the annotated class.
- * E.g. if we have
- *
- * sealed class A
- * case class B() extends A
- * case class C() extends A
- *
- * Then the class symbol `A` would carry the annotations
- * `@Child[Bref] @Child[Cref]` where `Bref`, `Cref` are TypeRefs
- * referring to the class symbols of `B` and `C`
- */
-class Child[T] extends Annotation
diff --git a/src/scala/annotation/internal/InlineParam.scala b/src/scala/annotation/internal/InlineParam.scala
deleted file mode 100644
index 0b3649e89..000000000
--- a/src/scala/annotation/internal/InlineParam.scala
+++ /dev/null
@@ -1,6 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation produced by Namer to indicate an inline parameter */
-final class InlineParam() extends Annotation
diff --git a/src/scala/annotation/internal/Repeated.scala b/src/scala/annotation/internal/Repeated.scala
deleted file mode 100644
index 75eb3bc25..000000000
--- a/src/scala/annotation/internal/Repeated.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation produced by desugaring to indicate that a
- * sequence is a repeated parameter. I.e.
- *
- * T* is expanded by Desugar to Seq[T] @Repeated
- */
-final class Repeated() extends Annotation
diff --git a/src/scala/annotation/internal/SourceFile.scala b/src/scala/annotation/internal/SourceFile.scala
deleted file mode 100644
index b203869cf..000000000
--- a/src/scala/annotation/internal/SourceFile.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** An annotation to record a Scala2 pickled alias.
- * @param aliased A TermRef pointing to the aliased field.
- */
-class SourceFile(path: String) extends Annotation {
-
-}
diff --git a/src/scala/annotation/internal/TASTYLongSignature.java b/src/scala/annotation/internal/TASTYLongSignature.java
deleted file mode 100644
index 2278da258..000000000
--- a/src/scala/annotation/internal/TASTYLongSignature.java
+++ /dev/null
@@ -1,12 +0,0 @@
-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
deleted file mode 100644
index a6372f008..000000000
--- a/src/scala/annotation/internal/TASTYSignature.java
+++ /dev/null
@@ -1,12 +0,0 @@
-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();
-}
diff --git a/src/scala/annotation/internal/UnsafeNonvariant.scala b/src/scala/annotation/internal/UnsafeNonvariant.scala
deleted file mode 100644
index b33df65d6..000000000
--- a/src/scala/annotation/internal/UnsafeNonvariant.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package scala.annotation.internal
-
-import scala.annotation.Annotation
-
-/** This annotation is used as a marker for unsafe
- * instantiations in asSeenFrom. See TypeOps.asSeenfrom for an explanation.
- */
-class UnsafeNonvariant extends Annotation