final object Flags

Constructors

Members

[+] case class FlagConjunction

A class representing flag sets that should be tested conjunctively. I.e. for a flag conjunction fc, x is fc tests whether x contains all flags in fc.

A class representing flag sets that should be tested conjunctively. I.e. for a flag conjunction fc, x is fc tests whether x contains all flags in fc.

[+] final object FlagConjunction

A class representing flag sets that should be tested conjunctively. I.e. for a flag conjunction fc, x is fc tests whether x contains all flags in fc.

A class representing flag sets that should be tested conjunctively. I.e. for a flag conjunction fc, x is fc tests whether x contains all flags in fc.

[+] final case class FlagSet

A FlagSet represents a set of flags. Flags are encoded as follows: The first two bits indicate whether a flagset applies to terms, to types, or to both....

A FlagSet represents a set of flags. Flags are encoded as follows: The first two bits indicate whether a flagset applies to terms, to types, or to both. Bits 2..63 are available for properties and can be doubly used for terms and types. Combining two FlagSets with | will give a FlagSet that has the intersection of the applicability to terms/types of the two flag sets. It is checked that the intersection is not empty.

[+] final object FlagSet

A FlagSet represents a set of flags. Flags are encoded as follows: The first two bits indicate whether a flagset applies to terms, to types, or to both....

A FlagSet represents a set of flags. Flags are encoded as follows: The first two bits indicate whether a flagset applies to terms, to types, or to both. Bits 2..63 are available for properties and can be doubly used for terms and types. Combining two FlagSets with | will give a FlagSet that has the intersection of the applicability to terms/types of the two flag sets. It is checked that the intersection is not empty.

[+] final val AbsOverride : FlagSet

Labeled with of abstract & override

Labeled with of abstract & override

[+] final val Abstract : FlagSet

Labeled with abstract modifier (an abstract class) Note: You should never see Abstract on any symbol except a class. Note: the flag counts as common, be...

Labeled with abstract modifier (an abstract class) Note: You should never see Abstract on any symbol except a class. Note: the flag counts as common, because it can be combined with OVERRIDE in a term.

[+] final val AbstractAndOverride : R
[+] final val AbstractFinal : R
[+] final val AbstractOrTrait : FlagSet

An abstract class or a trait

An abstract class or a trait

[+] final val AbstractSealed : R
[+] final val AccessFlags : FlagSet

Flags representing access rights

Flags representing access rights

[+] final val Accessor : FlagSet

A value or variable accessor (getter or setter)

A value or variable accessor (getter or setter)

[+] final val AccessorCreationFlags : FlagSet

Accessors always have these flags set

Accessors always have these flags set

[+] final val AccessorOrSealed : R
[+] final val AliasPreferred : FlagSet

If symbol of a type alias has these flags, prefer the alias

If symbol of a type alias has these flags, prefer the alias

[+] final val AnyFlags : R
[+] final val Artifact : FlagSet

Symbol should be ignored when typechecking; will be marked ACC_SYNTHETIC in bytecode

Symbol should be ignored when typechecking; will be marked ACC_SYNTHETIC in bytecode

[+] final val BaseTypeArg : FlagSet

A binding for a type parameter of a base class or trait. TODO: Replace with combination of isType, ExpandedName, and Override?

A binding for a type parameter of a base class or trait. TODO: Replace with combination of isType, ExpandedName, and Override?

[+] final val BindDefinedType : FlagSet

A type that is defined by a type bind

A type that is defined by a type bind

[+] final val Bridge : FlagSet

A bridge method. Set by Erasure

A bridge method. Set by Erasure

[+] final val Captured : FlagSet

Variable is accessed from nested function.

Variable is accessed from nested function.

[+] final val Case : FlagSet

A case class or its companion object

A case class or its companion object

[+] final val CaseAccessor : FlagSet

A case parameter accessor

A case parameter accessor

[+] final val CaseAccessorOrBaseTypeArg : R
[+] final val CaseClass : R
[+] final val CaseVal : R
[+] final val Contravariant : FlagSet
[+] final val ContravariantOrLabel : FlagSet

A contravariant type variable / a label method

A contravariant type variable / a label method

[+] final val Covariant : FlagSet
[+] final val CovariantOrOuter : FlagSet

A covariant type variable / an outer accessor

A covariant type variable / an outer accessor

[+] final val DefaultMethod : FlagSet

Symbol is a Java default method

Symbol is a Java default method

[+] final val DefaultParameter : R

Is a default parameter in Scala 2

Is a default parameter in Scala 2

[+] final val DefaultParameterized : FlagSet

A method that has default params

A method that has default params

[+] final val Deferred : FlagSet

A declared, but not defined member

A declared, but not defined member

[+] final val DeferredOrParamAccessor : FlagSet

A deferred member or a parameter accessor (these don't have right hand sides)

A deferred member or a parameter accessor (these don't have right hand sides)

[+] final val DeferredTerm : R
[+] final val DeferredType : R
[+] final val EmptyFlags : R

The empty flag set

The empty flag set

[+] final val Enum : FlagSet

Symbol is a Java enum

Symbol is a Java enum

[+] final val Erroneous : FlagSet

An error symbol

An error symbol

[+] final val ExpandedName : FlagSet

Symbol's name is expanded

Symbol's name is expanded

[+] final val ExpandedTypeParam : R

A type parameter with synthesized name

A type parameter with synthesized name

[+] final val Final : FlagSet

Labeled with final modifier

Labeled with final modifier

[+] final val FinalOrInline : FlagSet

value that's final or inline

value that's final or inline

[+] private final val FirstFlag : 2
[+] private final val FirstNotPickledFlag : 48
[+] final val Fresh : FlagSet

Symbol always defines a fresh named type

Symbol always defines a fresh named type

[+] final val FromStartFlags : FlagSet

Flags guaranteed to be set upon symbol creation

Flags guaranteed to be set upon symbol creation

[+] final val Frozen : FlagSet

Class is not allowed to accept new members because fingerprint of subclass has been taken

Class is not allowed to accept new members because fingerprint of subclass has been taken

[+] final val FullyCompleted : FlagSet

All class attributes are fully defined

All class attributes are fully defined

[+] final val HasDefaultParams : FlagSet

Has defined or inherited default parameters

Has defined or inherited default parameters

[+] final val HigherKinded : R
[+] final val ImplClass : FlagSet

Symbol is an implementation class of a Scala2 trait

Symbol is an implementation class of a Scala2 trait

[+] final val Implicit : R
[+] final val ImplicitCommon : FlagSet

Labeled with implicit modifier (implicit value)

Labeled with implicit modifier (implicit value)

[+] final val InSuperCall : FlagSet

Symbol is defined in a super call

Symbol is defined in a super call

[+] final val InheritedDefaultParams : FlagSet

A method that is known to have inherited default parameters

A method that is known to have inherited default parameters

[+] final val Inline : FlagSet

Symbol is inlined

Symbol is inlined

[+] final val InlineMethod : R

An inline method

An inline method

[+] final val InlineParam : R

An inline parameter

An inline parameter

[+] final val JavaDefined : FlagSet

Symbol is defined by a Java class

Symbol is defined by a Java class

[+] final val JavaInterface : R

A Java interface

A Java interface

[+] final val JavaModule : R

A Java companion object

A Java companion object

[+] final val JavaProtected : R

A Java companion object

A Java companion object

[+] final val JavaStatic : FlagSet

Symbol is implemented as a Java static

Symbol is implemented as a Java static

[+] final val JavaStaticTerm : R
[+] final val JavaStaticType : R
[+] final val JavaTrait : R

A Java interface, potentially with default methods

A Java interface, potentially with default methods

[+] final val JavaVarargs : FlagSet

Symbol is a Java-style varargs method

Symbol is a Java-style varargs method

[+] private final val KINDFLAGS : 3
[+] final val Label : FlagSet
[+] final val Lazy : FlagSet

Labeled with lazy (a lazy val).

Labeled with lazy (a lazy val).

[+] final val LazyOrDeferred : FlagSet

A lazy or deferred value

A lazy or deferred value

[+] final val LazyOrTrait : R
[+] final val Lifted : FlagSet

Class has been lifted out to package level, local value has been lifted out to class level

Class has been lifted out to package level, local value has been lifted out to class level

[+] final val Local : FlagSet

Symbol is local to current class (i.e. private[this] or protected[this] pre: Private or Protected are also set

Symbol is local to current class (i.e. private[this] or protected[this] pre: Private or Protected are also set

[+] final val LocalContravariant : R

A contravariant type parameter instance

A contravariant type parameter instance

[+] final val LocalCovariant : R

A covariant type parameter instance

A covariant type parameter instance

[+] final val Macro : FlagSet

A macro (Scala 2.x only)

A macro (Scala 2.x only)

[+] private final val MaxFlag : 63
[+] final val Method : R
[+] final val MethodOrHKCommon : FlagSet

A method symbol.

A method symbol.

[+] final val MethodOrLazy : FlagSet

Either method or lazy

Either method or lazy

[+] final val MethodOrLazyOrDeferred : FlagSet

Either method or lazy or deferred

Either method or lazy or deferred

[+] final val MixedIn : FlagSet

Term member has been mixed in

Term member has been mixed in

[+] final val ModifierFlags : FlagSet

Flags representing modifiers that can appear in trees

Flags representing modifiers that can appear in trees

[+] final val Module : FlagSet

A value or class implementing a module

A value or class implementing a module

[+] final val ModuleClass : R
[+] final val ModuleClassCreationFlags : FlagSet

Module classes always have these flags set

Module classes always have these flags set

[+] final val ModuleCreationFlags : FlagSet

Modules always have these flags set

Modules always have these flags set

[+] final val ModuleOrFinal : FlagSet

Either a module or a final class

Either a module or a final class

[+] final val ModuleVal : R
[+] final val Mutable : FlagSet

A mutable var

A mutable var

[+] final val MutableOrLazy : FlagSet

Either mutable or lazy

Either mutable or lazy

[+] final val NamedTypeParam : R

A type parameter introduced with [type ... ]

A type parameter introduced with [type ... ]

[+] final val NoDefaultParams : FlagSet

A method that is known to have no default parameters

A method that is known to have no default parameters

[+] final val NoInits : FlagSet

Trait does not have fields or initialization code

Trait does not have fields or initialization code

[+] final val NoInitsInterface : FlagSet
[+] final val NoInitsTrait : R

A trait that does not need to be initialized

A trait that does not need to be initialized

[+] final val OuterAccessor : FlagSet
[+] final val Override : FlagSet

Labeled with override modifier

Labeled with override modifier

[+] final val Package : FlagSet

A value or class representing a package

A value or class representing a package

[+] final val PackageClass : R
[+] final val PackageCreationFlags : FlagSet

Packages and package classes always have these flags set

Packages and package classes always have these flags set

[+] final val PackageVal : R
[+] final val Param : FlagSet

A (term or type) parameter to a class or method

A (term or type) parameter to a class or method

[+] final val ParamAccessor : FlagSet

A field generated for a primary constructor parameter (no matter if it's a 'val' or not), or an accessor of such a field.

A field generated for a primary constructor parameter (no matter if it's a 'val' or not), or an accessor of such a field.

[+] final val ParamAndLocal : R

A local parameter

A local parameter

[+] final val ParamForwarder : R

A parameter forwarder

A parameter forwarder

[+] final val ParamOrAccessor : FlagSet

A parameter or parameter accessor

A parameter or parameter accessor

[+] final val Permanent : FlagSet

A denotation that is valid in all run-ids

A denotation that is valid in all run-ids

[+] final val PickledFlags : R

These flags are pickled

These flags are pickled

[+] final val Private : FlagSet

Labeled with private modifier

Labeled with private modifier

[+] final val PrivateAccessor : R

A private accessor

A private accessor

[+] final val PrivateLocal : R

Labeled private[this]

Labeled private[this]

[+] final val PrivateLocalParam : R

A private[this] parameter

A private[this] parameter

[+] final val PrivateLocalParamAccessor : R

A private[this] parameter accessor

A private[this] parameter accessor

[+] final val PrivateMethod : R

A private method

A private method

[+] final val PrivateOrFinalOrInline : FlagSet

Labeled private, final, or inline

Labeled private, final, or inline

[+] final val PrivateOrLocal : FlagSet

Labeled private or protected[local]

Labeled private or protected[local]

[+] final val PrivateParamAccessor : R

A private parameter accessor

A private parameter accessor

[+] final val PrivateTerm : R
[+] final val PrivateType : R
[+] final val Protected : FlagSet

Labeled with protected modifier

Labeled with protected modifier

[+] final val ProtectedLocal : R

Labeled protected[this]

Labeled protected[this]

[+] final val PureInterface : FlagSet

A trait that has only abstract methods as members (and therefore can be represented by a Java interface

A trait that has only abstract methods as members (and therefore can be represented by a Java interface

[+] final val PureInterfaceCreationFlags : FlagSet

Pure interfaces always have these flags

Pure interfaces always have these flags

[+] final val RetainedModuleClassFlags : FlagSet

Flags that can apply to a module class

Flags that can apply to a module class

[+] final val RetainedModuleValAndClassFlags : FlagSet

Flags that can apply to both a module val and a module class, except those that are added at creation anyway

Flags that can apply to both a module val and a module class, except those that are added at creation anyway

[+] final val RetainedModuleValFlags : FlagSet

Flags that can apply to a module val

Flags that can apply to a module val

[+] final val RetainedTypeArgFlags : FlagSet

Flags that are passed from a type parameter of a class to a refinement symbol that sets the type parameter

Flags that are passed from a type parameter of a class to a refinement symbol that sets the type parameter

[+] final val Scala2Existential : R
[+] final val Scala2ExistentialCommon : FlagSet

An existentially bound symbol (Scala 2.x only)

An existentially bound symbol (Scala 2.x only)

[+] final val Scala2ModuleVar : FlagSet

A module variable (Scala 2.x only)

A module variable (Scala 2.x only)

[+] final val Scala2Overloaded : FlagSet

An overloaded symbol (Scala 2.x only)

An overloaded symbol (Scala 2.x only)

[+] final val Scala2PreSuper : FlagSet

A definition that's initialized before the super call (Scala 2.x only)

A definition that's initialized before the super call (Scala 2.x only)

[+] final val Scala2Trait : R
[+] final val Scala2x : FlagSet

An unpickled Scala 2.x class

An unpickled Scala 2.x class

[+] final val Sealed : FlagSet

Labeled with sealed modifier (sealed class)

Labeled with sealed modifier (sealed class)

[+] final val SelfName : FlagSet

Symbol is a self name

Symbol is a self name

[+] final val SelfNameOrImplClass : R
[+] final val SelfSymFlags : FlagSet

The flags of the self symbol

The flags of the self symbol

[+] final val SourceModifierFlags : R

Flags representing source modifiers

Flags representing source modifiers

[+] final val Specialized : FlagSet

Symbol is a generated specialized member

Symbol is a generated specialized member

[+] final val Stable : FlagSet

Lazy val or method is known or assumed to be stable and realizable

Lazy val or method is known or assumed to be stable and realizable

[+] final val StaticProtected : R

Java symbol which is protected and static

Java symbol which is protected and static

[+] final val SuperAccessor : FlagSet

A super accessor

A super accessor

[+] final val SuperAccessorOrScala2x : R
[+] final val Synchronized : FlagSet

Symbol is a method which should be marked ACC_SYNCHRONIZED

Symbol is a method which should be marked ACC_SYNCHRONIZED

[+] final val Synthetic : FlagSet

A compiler-generated symbol, which is visible for type-checking (compare with artifact)

A compiler-generated symbol, which is visible for type-checking (compare with artifact)

[+] final val SyntheticArtifact : R
[+] final val SyntheticCase : R
[+] final val SyntheticModule : R
[+] final val SyntheticOrPrivate : FlagSet

A synthetic or private definition

A synthetic or private definition

[+] final val SyntheticTermParam : R
[+] final val SyntheticTypeParam : R
[+] private final val TERMS : 1
[+] private final val TERMindex : 0
[+] private final val TYPES : 2
[+] private final val TYPESHIFT : 2
[+] private final val TYPEindex : 1
[+] final val TermParam : R
[+] final val TermParamAccessor : R
[+] final val Touched : FlagSet

Denotation is in train of being loaded and completed, used to catch cyclic dependencies

Denotation is in train of being loaded and completed, used to catch cyclic dependencies

[+] final val Trait : FlagSet

A trait

A trait

[+] final val TypeParam : R
[+] final val TypeParamAccessor : R
[+] final val TypeParamOrAccessor : FlagSet

A type parameter or type parameter accessor

A type parameter or type parameter accessor

[+] final val UndefinedFlags : R

The undefined flag set

The undefined flag set

[+] final val UnstableValue : FlagSet

A value that's unstable unless complemented with a Stable flag

A value that's unstable unless complemented with a Stable flag

[+] final val VBridge : FlagSet

Symbol is a Java varargs bridge

Symbol is a Java varargs bridge

[+] final val ValidForever : FlagSet

Is valid forever

Is valid forever

[+] final val VarianceFlags : FlagSet

Flags that express the variance of a type parameter.

Flags that express the variance of a type parameter.

[+] private val flagName : Array [ Array [ String ] ]
[+] final def ClassTypeParamCreationFlags : FlagSet

The flags of a class type parameter

The flags of a class type parameter

[+] def allOf ( flagss: [ FlagSet ] ) : R
[+] private def commonFlag ( index: Int , name: String ) : FlagSet

The flag with given index between 2 and 63 which applies to both terms and types Installs given name as the name of the flag.

The flag with given index between 2 and 63 which applies to both terms and types Installs given name as the name of the flag.

[+] def commonFlags ( flagss: [ FlagSet ] ) : R
[+] implicit def conjToFlagSet ( conj: FlagConjunction ) : FlagSet
[+] private def flagRange ( start: Int , end: Int ) : R

The flag set containing all defined flags of either kind whose bits lie in the given range

The flag set containing all defined flags of either kind whose bits lie in the given range

[+] private def isDefinedAsFlag ( idx: Int ) : Boolean
[+] private def termFlag ( index: Int , name: String ) : FlagSet
[+] private def typeFlag ( index: Int , name: String ) : FlagSet

The flag with given index between 2 and 63 which applies to types. Installs given name as the name of the flag.

The flag with given index between 2 and 63 which applies to types. Installs given name as the name of the flag.

[+] def union ( flagss: [ FlagSet ] ) : R

The union of all flags in given flag set

The union of all flags in given flag set