object ClosureCleaner
Copied from Spark, written by Matei Zaharia (matei@cs.berkeley.edu).
Ported to ASM 4.0 and refactored for scalding/summingbird by Oscar Boykin
Original code: https://github.com/mesos/spark/blob/master/core/src/main/scala/spark/ClosureCleaner.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClosureCleaner
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- val OUTER: String
- def accessedFieldsOf(cls: Class[_]): Set[Field]
Uses ASM to return the names of the fields accessed by this cls
- def apply(obj: AnyRef): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clean[T <: AnyRef](obj: T): T
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOutersOf(obj: AnyRef, hierarchy: List[(Class[_], AnyRef)] = Nil): List[(Class[_], AnyRef)]
returns the (Class, AnyRef) pair from highest level to lowest level so result.last is the outer of obj.
returns the (Class, AnyRef) pair from highest level to lowest level so result.last is the outer of obj.
- Annotations
- @tailrec()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def innerClassesOf(cls: Class[_]): Set[Class[_]]
- def instantiateClass(cls: Class[_]): AnyRef
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOuterField(f: Field): Boolean
- 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 outerClassesOf(cls: Class[_]): List[Class[_]]
- def outerFieldOf(c: Class[_]): Option[Field]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()