Source
extends ObjectSupertypes
ObjectMembers
def
compilationUnitClassname
( implicit ctx: Context ) : StringClass name of the current CompilationUnit
Class name of the current CompilationUnit
def
isAlreadyLoadedCompilationUnit
( implicit ctx: Context ) : BooleanReturns true if we've tried to reflect on a class that's already loaded (e.g. Option).
Returns true if we've tried to reflect on a class that's already loaded (e.g. Option).
def
isJavaCompilationUnit
( implicit ctx: Context ) : BooleanReturns true if we've tried to reflect on a Java class.
Returns true if we've tried to reflect on a Java class.
def
isScala2CompilationUnit
( implicit ctx: Context ) : BooleanReturns true if we've tried to reflect on a Scala2 (non-Tasty) class.
Returns true if we've tried to reflect on a Scala2 (non-Tasty) class.
def
path
( implicit ctx: Context ) : PathReturns the source file being compiled. The path is relative to the current working directory.
Returns the source file being compiled. The path is relative to the current working directory.