scala.reflect.generic.Trees

Modifiers

class Modifiers(flags: Long, privateWithin: Name, annotations: List[Tree], positions: Map[Long, Position]) extends Product

privateWithin

the qualifier for a private (a type name) or nme . EMPTY.toTypeName, 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.

go to: companion
source: Trees.scala
Inherited
  1. Hide All
  2. Show all
  1. Product
  2. Equals
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new Modifiers(flags: Long, privateWithin: Name, annotations: List[Tree], positions: Map[Long, Position])

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def &(flag: Long): Modifiers

  7. def &~(flag: Long): Modifiers

  8. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  9. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  10. val annotations: List[Tree]

  11. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  12. def canEqual(arg0: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass .

  13. def clone(): AnyRef

    This method creates and returns a copy of the receiver object .

  14. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  15. def equals(arg0: Any): Boolean

    The equality method defined in AnyRef.

  16. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object .

  17. val flags: Long

  18. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object .

  19. def hasFlag(flag: Long): Boolean

  20. def hashCode(): Int

    Returns a hash code value for the object .

  21. def isAbstract: Boolean

  22. def isAccessor: Boolean

  23. def isArgument: Boolean

  24. def isCase: Boolean

  25. def isContravariant: Boolean

  26. def isCovariant: Boolean

  27. def isDeferred: Boolean

  28. def isFinal: Boolean

  29. def isImplicit: Boolean

  30. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  31. def isLazy: Boolean

  32. def isOverride: Boolean

  33. def isPrivate: Boolean

  34. def isProtected: Boolean

  35. def isPublic: Boolean

  36. def isSealed: Boolean

  37. def isSynthetic: Boolean

  38. def isTrait: Boolean

  39. def isVariable: Boolean

  40. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  41. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor .

  42. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor .

  43. val positions: Map[Long, Position]

  44. val privateWithin: Name

  45. def productArity: Int

    return k for a product A(x_1, .

  46. def productElement(arg0: Int): Any

    For a product A(x_1, .

  47. def productElementName(n: Int): String

    Returns the name of the field at the given index from the definition of the class .

  48. def productElements: Iterator[Any]

  49. def productIterator: Iterator[Any]

    An iterator that returns all fields of this product

  50. def productPrefix: String

    By default the empty string .

  51. def synchronized[T0](arg0: T0): T0

  52. def toString(): String

    Returns a string representation of the object .

  53. def wait(): Unit

  54. def wait(arg0: Long, arg1: Int): Unit

  55. def wait(arg0: Long): Unit

  56. def withAnnotations(annots: List[Tree]): Modifiers

  57. def withPosition(flag: Long, position: Position): Modifiers

  58. def |(flag: Long): Modifiers