trait ZincPickleCompletion extends AnyRef
- Alphabetic
- By Inheritance
- ZincPickleCompletion
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract val global: CallbackGlobal
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pickleComplete(pickleFile: AbstractFile, clazz: CallbackGlobal.ClassSymbol, module: CallbackGlobal.ModuleSymbol, sym: CallbackGlobal.Symbol): Unit
Load source or class file for
root
from Scala pickles.Load source or class file for
root
from Scala pickles.This method fills in
sym
with the information from the Scala pickle. The whole mechanism takes a pickle file (which is under the hood hidden as a class file so that the scala classpath mechanism finds it), a class and a module symbol (representing the corresponding class and module symbol related tosym
) and the symbolsym
which is the one under completion.The logic here is simple: we load the pickle information from the pickle file. If we're completing a module (because a companion class doesn't exist), we get the information from the pickle associated with the module class (which ends in
$
, assuming that we did the right thing inPicklerGen
and created it).As you see, for this logic to work correctly, there always need to be a class file for the class and its companion. When there is no class associated with a module class, we still need the pickle information as if it existed because scalac requires it in some cases).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )