final class JavaAccFlags extends AnyVal
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 and found in the bytecode.
The high bits encode whether the access flags are directly associated with a class, constructor, field, or method.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JavaAccFlags
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val coded: Int
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
hasPackageAccessBoundary: Boolean
Do these flags describe a member which has either protected or package access? Such access in java is encoded in scala as protected[foo] or private[foo], where
foo
is the defining package. - def isAbstract: Boolean
- def isAnnotation: Boolean
- def isBridge: Boolean
- def isEnum: Boolean
- def isFinal: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInterface: Boolean
- def isNative: Boolean
- def isPackageProtected: Boolean
- def isPrivate: Boolean
- def isProtected: Boolean
- def isPublic: Boolean
- def isStatic: Boolean
- def isStrictFp: Boolean
- def isSuper: Boolean
- def isSynchronized: Boolean
- def isSynthetic: Boolean
- def isTransient: Boolean
- def isVarargs: Boolean
- def isVolatile: Boolean
- def toJavaFlags: Int
-
def
toScalaAnnotations(syms: SymbolTable): List[SymbolTable.AnnotationInfo]
A subset of
@native
/@transient
/@volatile
annotations representing the presence/absence of those flags in this flag set. - def toScalaFlags: Long
-
def
toString(): String
- Definition Classes
- Any