diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-01 21:24:28 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-03 01:29:22 -0700 |
commit | 13bb4e5af4f2cfcbbee0ae590e0a5aed83ff50dc (patch) | |
tree | 1e4e2ae097f2de82fe4240989da4d030fdd4c185 /src/reflect | |
parent | 15bc39a844a8080715f559889ed7a8b6c375f176 (diff) | |
download | scala-13bb4e5af4f2cfcbbee0ae590e0a5aed83ff50dc.tar.gz scala-13bb4e5af4f2cfcbbee0ae590e0a5aed83ff50dc.tar.bz2 scala-13bb4e5af4f2cfcbbee0ae590e0a5aed83ff50dc.zip |
Fleshing out comments on JavaAccFlags.
Diffstat (limited to 'src/reflect')
-rw-r--r-- | src/reflect/scala/reflect/internal/JavaAccFlags.scala | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/reflect/scala/reflect/internal/JavaAccFlags.scala b/src/reflect/scala/reflect/internal/JavaAccFlags.scala index 838a44dbf1..4be1f828d3 100644 --- a/src/reflect/scala/reflect/internal/JavaAccFlags.scala +++ b/src/reflect/scala/reflect/internal/JavaAccFlags.scala @@ -2,24 +2,21 @@ * Copyright 2005-2013 LAMP/EPFL * @author Paul Phillips */ - package scala.reflect package internal import java.lang.{ Class => jClass } -import java.lang.reflect.{ - Member => jMember, Constructor => jConstructor, Field => jField, Method => jMethod, - AnnotatedElement => jAnnotatedElement -} -import java.lang.reflect.Modifier +import java.lang.reflect.{ Member => jMember, Constructor => jConstructor, Field => jField, Method => jMethod } import JavaAccFlags._ import ClassfileConstants._ /** A value class which encodes the access_flags (JVMS 4.1) * for a field, method, or class. The low 16 bits are the same - * as those returned by java.lang.reflect.Member#getModifiers. - * The high bits encode whether the access flags are associated - * with a class, constructor, field, interface, or method. + * as those returned by java.lang.reflect.Member#getModifiers + * and found in the bytecode. + * + * The high bits encode whether the access flags are directly + * associated with a class, constructor, field, or method. */ final class JavaAccFlags private (val coded: Int) extends AnyVal { private def has(mask: Int) = (flags & mask) != 0 |