aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-10-21 16:32:08 +0200
committerMartin Odersky <odersky@gmail.com>2014-10-26 16:24:01 +0100
commitf590cb3564e47f212ba0b8c6d69c2d0f86108de9 (patch)
tree357f5f2448c7859cf5ba0735089f04e98fe29e84 /src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala
parent7167c225841a8261086e42e3e8721a4059a484bb (diff)
downloaddotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.tar.gz
dotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.tar.bz2
dotty-f590cb3564e47f212ba0b8c6d69c2d0f86108de9.zip
Rename flag Static -> JavaStatic
Static has two meanings: In the Java sense, and in the Scala sense, where it means a member of a package or static module. The change makes it clear that the flag means Static in the Java sense.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala b/src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala
index c3850d0fd..c35b9ca47 100644
--- a/src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala
+++ b/src/dotty/tools/dotc/core/pickling/ClassfileConstants.scala
@@ -343,7 +343,7 @@ object ClassfileConstants {
case JAVA_ACC_PROTECTED => Protected
case JAVA_ACC_FINAL => Final
case JAVA_ACC_SYNTHETIC => Synthetic
- case JAVA_ACC_STATIC => Static
+ case JAVA_ACC_STATIC => JavaStatic
case JAVA_ACC_ABSTRACT => if (isAnnotation) EmptyFlags else if (isClass) Abstract else Deferred
case JAVA_ACC_INTERFACE => if (isAnnotation) EmptyFlags else JavaInterface
case _ => EmptyFlags