scala.tools.nsc.util

ScalaClassLoader

trait ScalaClassLoader extends ClassLoader

A wrapper around java.lang.ClassLoader to lower the annoyance of java reflection.

Linear Supertypes
ClassLoader, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaClassLoader
  2. ClassLoader
  3. AnyRef
  4. Any
Implicitly
  1. by apply
  2. by StringAdd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to StringAdd[ScalaClassLoader] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ScalaClassLoader, B)

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ArrowAssoc[ScalaClassLoader] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def asContext[T](action: ⇒ T): T

    Executing an action with this classloader as context classloader

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def classAsStream(className: String): InputStream

    An InputStream representing the given class name, or null if not found.

  11. def classBytes(className: String): Array[Byte]

    The actual bytes for a class file, or an empty array if it can't be found.

  12. def clearAssertionStatus(): Unit

    Definition Classes
    ClassLoader
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def create(path: String): AnyRef

    Create an instance of a class with this classloader

  15. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  16. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: ProtectionDomain): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  17. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  18. def definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  19. def ensuring(cond: (ScalaClassLoader) ⇒ Boolean, msg: ⇒ Any): ScalaClassLoader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to Ensuring[ScalaClassLoader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (ScalaClassLoader) ⇒ Boolean): ScalaClassLoader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to Ensuring[ScalaClassLoader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): ScalaClassLoader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to Ensuring[ScalaClassLoader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): ScalaClassLoader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to Ensuring[ScalaClassLoader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findClass(arg0: String): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  27. def findLibrary(arg0: String): String

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  28. final def findLoadedClass(arg0: String): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  29. def findResource(arg0: String): URL

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  30. def findResources(arg0: String): java.util.Enumeration[URL]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  31. final def findSystemClass(arg0: String): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  32. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to StringFormat[ScalaClassLoader] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  34. def getPackage(arg0: String): Package

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  35. def getPackages(): Array[Package]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  36. final def getParent(): ClassLoader

    Definition Classes
    ClassLoader
  37. def getResource(arg0: String): URL

    Definition Classes
    ClassLoader
  38. def getResourceAsStream(arg0: String): InputStream

    Definition Classes
    ClassLoader
  39. def getResources(arg0: String): java.util.Enumeration[URL]

    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  40. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. def loadClass(arg0: String, arg1: Boolean): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  43. def loadClass(arg0: String): Class[_]

    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  44. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. final def resolveClass(arg0: Class[_]): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  48. def run(objectName: String, arguments: Seq[String]): Unit

    Run the main method of a class to be loaded by this classloader

  49. def setAsContext(): Unit

  50. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit

    Definition Classes
    ClassLoader
  51. def setDefaultAssertionStatus(arg0: Boolean): Unit

    Definition Classes
    ClassLoader
  52. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit

    Definition Classes
    ClassLoader
  53. final def setSigners(arg0: Class[_], arg1: Array[AnyRef]): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  55. def toString(): String

    Definition Classes
    AnyRef → Any
  56. def tryToInitializeClass[T <: AnyRef](path: String): Option[Class[T]]

    Load, link and initialize a class with this classloader

  57. def tryToLoadClass[T <: AnyRef](path: String): Option[Class[T]]

    Load and link a class with this classloader

  58. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def [B](y: B): (ScalaClassLoader, B)

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ArrowAssoc[ScalaClassLoader] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def asContext[T](action: ⇒ T): T

    Executing an action with this classloader as context classloader

    Executing an action with this classloader as context classloader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).asContext(action)
  2. def classAsStream(className: String): InputStream

    An InputStream representing the given class name, or null if not found.

    An InputStream representing the given class name, or null if not found.

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).classAsStream(className)
  3. def classBytes(className: String): Array[Byte]

    The actual bytes for a class file, or an empty array if it can't be found.

    The actual bytes for a class file, or an empty array if it can't be found.

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).classBytes(className)
  4. def clearAssertionStatus(): Unit

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).clearAssertionStatus()
    Definition Classes
    ClassLoader
  5. def create(path: String): AnyRef

    Create an instance of a class with this classloader

    Create an instance of a class with this classloader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).create(path)
  6. final def getParent(): ClassLoader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).getParent()
    Definition Classes
    ClassLoader
  7. def getResource(arg0: String): URL

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).getResource(arg0)
    Definition Classes
    ClassLoader
  8. def getResourceAsStream(arg0: String): InputStream

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).getResourceAsStream(arg0)
    Definition Classes
    ClassLoader
  9. def getResources(arg0: String): java.util.Enumeration[URL]

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).getResources(arg0)
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  10. def loadClass(arg0: String): Class[_]

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).loadClass(arg0)
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  11. def run(objectName: String, arguments: Seq[String]): Unit

    Run the main method of a class to be loaded by this classloader

    Run the main method of a class to be loaded by this classloader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).run(objectName, arguments)
  12. def setAsContext(): Unit

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).setAsContext()
  13. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).setClassAssertionStatus(arg0, arg1)
    Definition Classes
    ClassLoader
  14. def setDefaultAssertionStatus(arg0: Boolean): Unit

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).setDefaultAssertionStatus(arg0)
    Definition Classes
    ClassLoader
  15. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).setPackageAssertionStatus(arg0, arg1)
    Definition Classes
    ClassLoader
  16. def tryToInitializeClass[T <: AnyRef](path: String): Option[Class[T]]

    Load, link and initialize a class with this classloader

    Load, link and initialize a class with this classloader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).tryToInitializeClass(path)
  17. def tryToLoadClass[T <: AnyRef](path: String): Option[Class[T]]

    Load and link a class with this classloader

    Load and link a class with this classloader

    Implicit information
    This member is added by an implicit conversion from ScalaClassLoader to ScalaClassLoader performed by method apply in scala.tools.nsc.util.ScalaClassLoader.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (scalaClassLoader: ScalaClassLoader).tryToLoadClass(path)

Deprecated Value Members

  1. final def defineClass(arg0: Array[Byte], arg1: Int, arg2: Int): Class[_]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.ClassFormatError] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion apply from ScalaClassLoader to ScalaClassLoader

Inherited by implicit conversion StringAdd from ScalaClassLoader to StringAdd[ScalaClassLoader]

Inherited by implicit conversion StringFormat from ScalaClassLoader to StringFormat[ScalaClassLoader]

Inherited by implicit conversion Ensuring from ScalaClassLoader to Ensuring[ScalaClassLoader]

Inherited by implicit conversion ArrowAssoc from ScalaClassLoader to ArrowAssoc[ScalaClassLoader]

Ungrouped