class
InterceptedMethods
extends
MiniPhaseTransform
Replace member references as follows:
x != y
for != in class Any becomes!(x == y)
with == in class Any.x.##
for ## in NullClass becomes0
x.##
for ## in Any becomes calls to ScalaRunTime.hash, using the most precise overload availablex.getClass
for getClass in primitives becomesx.getClass
with getClass in class Object.
Constructors
InterceptedMethods
(
)
Members
override
def
phaseName
: String
A name given to the Phase
that can be used to debug the compiler. For
instance, it is possible to print trees after a given phase using:
A name given to the Phase
that can be used to debug the compiler. For
instance, it is possible to print trees after a given phase using:
$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
perform context-dependant initialization
perform context-dependant initialization