treehugger.Trees

Modifiers

Related Doc: package Trees

case class Modifiers(flags: Long, privateWithin: Forest.Name, annotations: List[Forest.AnnotationInfo]) extends Forest.AbsModifiers with HasFlags with Product with Serializable

privateWithin

the qualifier for a private (a type name) or tpnme.EMPTY, if none is given.

annotations

the annotations for the definition. Note: the typechecker drops these annotations, use the AnnotationInfo's (Symbol.annotations) in later phases.

Linear Supertypes
Serializable, Serializable, Product, Equals, HasFlags, Forest.AbsModifiers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Modifiers
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasFlags
  7. AbsModifiers
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Modifiers(flags: Long, privateWithin: Forest.Name, annotations: List[Forest.AnnotationInfo])

    privateWithin

    the qualifier for a private (a type name) or tpnme.EMPTY, if none is given.

    annotations

    the annotations for the definition. Note: the typechecker drops these annotations, use the AnnotationInfo's (Symbol.annotations) in later phases.

Type Members

  1. type AccessBoundaryType = Forest.Name

    Definition Classes
    Modifiers → HasFlags
  2. type AnnotationType = Forest.AnnotationInfo

    Definition Classes
    Modifiers → HasFlags
  3. type FlagsType = Long

    Definition Classes
    Modifiers → HasFlags

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def &(flag: Long): Forest.Modifiers

  4. def &~(flag: Long): Forest.Modifiers

  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. def allModifiers: Set[api.Modifier.Value]

    Definition Classes
    Modifiers → AbsModifiers
  7. val annotations: List[Forest.AnnotationInfo]

    the annotations for the definition.

    the annotations for the definition. Note: the typechecker drops these annotations, use the AnnotationInfo's (Symbol.annotations) in later phases.

    Definition Classes
    Modifiers → HasFlags → AbsModifiers
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def defaultFlagString: String

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val flags: Long

    Though both Symbol and Modifiers widen this method to public, it's defined protected here to give us the option in the future to route flag methods through accessors and disallow raw flag manipulation.

    Though both Symbol and Modifiers widen this method to public, it's defined protected here to give us the option in the future to route flag methods through accessors and disallow raw flag manipulation. And after that, perhaps, on some magical day: a typesafe enumeration.

    Definition Classes
    Modifiers → HasFlags
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hasAbstractFlag: Boolean

    Definition Classes
    HasFlags
  16. def hasAccessBoundary: Boolean

    Whether this entity has a "privateWithin" visibility barrier attached.

    Whether this entity has a "privateWithin" visibility barrier attached.

    Definition Classes
    Modifiers → HasFlags
  17. def hasAccessorFlag: Boolean

    Definition Classes
    HasFlags
  18. def hasAllFlags(mask: Long): Boolean

    Whether this entity has ALL of the flags in the given mask.

    Whether this entity has ALL of the flags in the given mask.

    Definition Classes
    Modifiers → HasFlags
  19. def hasContravariantFlag: Boolean

    Definition Classes
    HasFlags
  20. def hasDefault: Boolean

    Definition Classes
    HasFlags
  21. def hasDefaultFlag: Boolean

    Definition Classes
    HasFlags
  22. def hasFlag(flag: Long): Boolean

    Whether this entity has ANY of the flags in the given mask.

    Whether this entity has ANY of the flags in the given mask.

    Definition Classes
    Modifiers → HasFlags
  23. def hasFlagsToString(mask: Long): String

    The printable representation of this entity's flags and access boundary, restricted to flags in the given mask.

    The printable representation of this entity's flags and access boundary, restricted to flags in the given mask.

    Definition Classes
    Modifiers → HasFlags
  24. def hasInConstructorFlag: Boolean

    Definition Classes
    HasFlags
  25. def hasLocalFlag: Boolean

    Definition Classes
    HasFlags
  26. def hasModifier(mod: api.Modifier.Value): Boolean

    Definition Classes
    Modifiers → AbsModifiers
  27. def hasModuleFlag: Boolean

    Definition Classes
    HasFlags
  28. def hasNoFlags(mask: Long): Boolean

    Whether this entity has NONE of the flags in the given mask.

    Whether this entity has NONE of the flags in the given mask.

    Definition Classes
    HasFlags
  29. def hasPackageFlag: Boolean

    Definition Classes
    HasFlags
  30. def hasPreSuperFlag: Boolean

    Definition Classes
    HasFlags
  31. def hasStableFlag: Boolean

    Definition Classes
    HasFlags
  32. def hasStaticFlag: Boolean

    Definition Classes
    HasFlags
  33. def hasTraitFlag: Boolean

    Definition Classes
    HasFlags
  34. def isAbstractOverride: Boolean

    Definition Classes
    HasFlags
  35. def isAnyOverride: Boolean

    Definition Classes
    HasFlags
  36. def isByNameParam: Boolean

    Definition Classes
    HasFlags
  37. def isCase: Boolean

    Definition Classes
    HasFlags
  38. def isCaseAccessor: Boolean

    Definition Classes
    HasFlags
  39. def isDefaultInit: Boolean

    Definition Classes
    HasFlags
  40. def isDeferred: Boolean

    Definition Classes
    HasFlags
  41. def isFinal: Boolean

    Definition Classes
    HasFlags
  42. def isHeader: Boolean

    Definition Classes
    HasFlags
  43. def isImplicit: Boolean

    Definition Classes
    HasFlags
  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. def isInterface: Boolean

    Definition Classes
    HasFlags
  46. def isJavaDefined: Boolean

    Definition Classes
    HasFlags
  47. def isLabel: Boolean

    Definition Classes
    HasFlags
  48. def isLazy: Boolean

    Definition Classes
    HasFlags
  49. def isLifted: Boolean

    Definition Classes
    HasFlags
  50. def isMutable: Boolean

    Definition Classes
    HasFlags
  51. def isOverride: Boolean

    Definition Classes
    HasFlags
  52. def isParamAccessor: Boolean

    Definition Classes
    HasFlags
  53. def isParameter: Boolean

    Definition Classes
    HasFlags
  54. def isPrivate: Boolean

    Definition Classes
    HasFlags
  55. def isPrivateLocal: Boolean

    Definition Classes
    HasFlags
  56. def isProtected: Boolean

    Definition Classes
    HasFlags
  57. def isProtectedLocal: Boolean

    Definition Classes
    HasFlags
  58. def isPublic: Boolean

    Definition Classes
    HasFlags
  59. def isSealed: Boolean

    Definition Classes
    HasFlags
  60. def isSuperAccessor: Boolean

    Definition Classes
    HasFlags
  61. def isSynthetic: Boolean

    Definition Classes
    HasFlags
  62. def isTrait: Boolean

    Definition Classes
    HasFlags
  63. def mapAnnotations(f: (List[Forest.AnnotationInfo]) ⇒ List[Forest.AnnotationInfo]): Forest.Modifiers

    Definition Classes
    Modifiers → AbsModifiers
  64. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  65. final def notify(): Unit

    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  67. var positions: Map[Long, Position]

  68. val privateWithin: Forest.Name

    the qualifier for a private (a type name) or tpnme.EMPTY, if none is given.

    the qualifier for a private (a type name) or tpnme.EMPTY, if none is given.

    Definition Classes
    Modifiers → HasFlags → AbsModifiers
  69. def setPositions(poss: Map[Long, Position]): Modifiers.this.type

  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  71. def toString(): String

    Definition Classes
    Modifiers → AnyRef → Any
  72. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def |(flag: Long): Forest.Modifiers

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasFlags

Inherited from Forest.AbsModifiers

Inherited from AnyRef

Inherited from Any

Ungrouped