class TermName
extends Name

Constructors

TermName ( start: Int , length: Int , next: TermName )
TermName ( name: TermName )

Members

[+] type ThisName = TermName

A type for names of the same kind as this name

A type for names of the same kind as this name

[+] @volatile @sharable private var _typeName : TypeName
[+] val length : Int

The length of the names

The length of the names

[+] val start : Int

The start index in the character array

The start index in the character array

[+] def asTermName : TermName

This name downcasted to a term name

This name downcasted to a term name

[+] def asTypeName : TypeName

This name downcasted to a type name

This name downcasted to a type name

[+] def defaultGetterIndex : Int

If this is a default getter, its index (starting from 0), else -1

If this is a default getter, its index (starting from 0), else -1

[+] def defaultGetterName ( pos: Int ) : TermName

Nominally, name$default$N, encoded for

Nominally, name$default$N, encoded for

[+] def defaultGetterToMethod : TermName

Nominally, name from name$default$N, CONSTRUCTOR for

Nominally, name from name$default$N, CONSTRUCTOR for

[+] def fieldName : TermName
[+] def fieldToGetter : TermName
[+] def fromChars ( cs: Array [ Char ] , offset: Int , len: Int ) : TermName

Create a new name of same kind as this one, in the given basis, with len characters taken from cs starting at offset.

Create a new name of same kind as this one, in the given basis, with len characters taken from cs starting at offset.

[+] def getterName : TermName
[+] override def hashCode : Int
[+] def inlineAccessorName : String
[+] def isTermName : Boolean

Is this name a term name?

Is this name a term name?

[+] def isTypeName : Boolean

Is this name a type name?

Is this name a type name?

[+] def lazyLocalName : ThisName
[+] def moduleVarName : TermName
[+] protected override def newBuilder : Builder [ Char, Name ]
[+] @sharable def next_= ( x$1: TermName ) : Unit
[+] def nonLazyName : Repr
[+] def primitiveInfixMethodName : TermName

The name of a method which stands in for a primitive operation during structural type dispatch.

The name of a method which stands in for a primitive operation during structural type dispatch.

[+] def primitiveMethodName : TermName
[+] def primitivePostfixMethodName : TermName

Postfix/prefix, really.

Postfix/prefix, really.

[+] def protectedAccessorName : TermName

The name of an accessor for protected symbols.

The name of an accessor for protected symbols.

[+] def protectedSetterName : TermName

The name of a setter for protected symbols. Used for inherited Java fields.

The name of a setter for protected symbols. Used for inherited Java fields.

[+] def setterName : TermName
[+] def stripScala2LocalSuffix : TermName
[+] def toTermName : TermName

This name converted to a term name

This name converted to a term name

[+] def toTypeName : TypeName

This name converted to a type name

This name converted to a type name

[+] def toUnaryName : TermName

The name unary_x for a prefix operator x

The name unary_x for a prefix operator x