aboutsummaryrefslogtreecommitdiff
path: root/src/scala/annotation/static.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2016-03-07 17:49:23 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2016-03-07 17:52:50 +0100
commitc73fbaa3fa082788fb3057ab7d8bce4b0f4b426b (patch)
treed8158ea1824c4ce20a2336cb7667fcd526265e1c /src/scala/annotation/static.scala
parenta50926701ef5171779aa025d2d307751d166cabe (diff)
downloaddotty-c73fbaa3fa082788fb3057ab7d8bce4b0f4b426b.tar.gz
dotty-c73fbaa3fa082788fb3057ab7d8bce4b0f4b426b.tar.bz2
dotty-c73fbaa3fa082788fb3057ab7d8bce4b0f4b426b.zip
Implement @static sip.
This pull request implements most of machinery needed for https://github.com/scala/scala.github.com/pull/491 Only 3-rd check is not implemented by this commit. I propose to get this in faster to fix #1149
Diffstat (limited to 'src/scala/annotation/static.scala')
-rw-r--r--src/scala/annotation/static.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/scala/annotation/static.scala b/src/scala/annotation/static.scala
new file mode 100644
index 000000000..fd683b467
--- /dev/null
+++ b/src/scala/annotation/static.scala
@@ -0,0 +1,13 @@
+package scala.annotation
+
+import scala.annotation.meta._
+
+/** https://github.com/scala/scala.github.com/pull/491 */
+
+@field
+@getter
+@beanGetter
+@beanGetter
+@param
+@setter
+final class static extends StaticAnnotation