package util
- Alphabetic
- By Inheritance
- util
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract class CharArrayReader extends CharArrayReaderData
- trait CharArrayReaderData extends AnyRef
-
trait
ClassPath
extends AnyRef
A representation of the compiler's class- or sourcepath.
- trait ClassRepresentation extends AnyRef
- class EmptyAction extends () ⇒ Unit
- class FailedInterrupt extends Exception
- type HashSet[T >: Null <: AnyRef] = reflect.internal.util.HashSet[T]
-
abstract
class
InterruptReq
extends AnyRef
A class of work items to be used in interrupt requests.
A class of work items to be used in interrupt requests. Todo: we should replace the Eithers by Futures or Try's.
- class JavaCharArrayReader extends Iterator[Char] with Cloneable
- type Set[T <: AnyRef] = reflect.internal.util.Set[T]
-
class
SimpleTracer
extends AnyRef
A simple tracer
- implicit final class StackTraceOps extends AnyVal with StackTracing
- abstract class StatisticsInfo extends AnyRef
- class WorkScheduler extends AnyRef
-
type
AbstractFileClassLoader = reflect.internal.util.AbstractFileClassLoader
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) Moved to scala.reflect.internal.util.AbstractFileClassLoader
-
type
BatchSourceFile = reflect.internal.util.BatchSourceFile
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.BatchSourceFile
-
sealed abstract
class
DirectoryClassPath
extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) shim for sbt's compiler interface
-
type
FakePos = reflect.internal.util.FakePos
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.FakePos
-
sealed abstract
class
JavaClassPath
extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) shim for sbt's compiler interface
-
sealed abstract
class
MergedClassPath
extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) shim for sbt's compiler interface
-
type
Position = reflect.internal.util.Position
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.Position
-
type
RangePosition = reflect.internal.util.RangePosition
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.RangePosition
-
type
ScalaClassLoader = reflect.internal.util.ScalaClassLoader
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) Moved to scala.reflect.internal.util.ScalaClassLoader
-
type
SourceFile = reflect.internal.util.SourceFile
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.SourceFile
Value Members
- val Chars: reflect.internal.Chars.type
- val HashSet: reflect.internal.util.HashSet.type
-
def
returning[T](x: T)(f: (T) ⇒ Unit): T
Apply a function and return the passed value
-
def
stackTraceHeadString(ex: Throwable): String
A one line string which contains the class of the exception, the message if any, and the first non-Predef location in the stack trace (to exclude assert, require, etc.)
- def stackTraceString(ex: Throwable): String
- def stringFromReader(reader: Reader): String
- def stringFromStream(stream: (OutputStream) ⇒ Unit): String
-
def
stringFromWriter(writer: (PrintWriter) ⇒ Unit): String
Generate a string using a routine that wants to write on a stream.
- lazy val trace: SimpleTracer
-
def
trackingThreads[T](body: ⇒ T): (T, Seq[Thread])
Executes the code and returns the result and any threads which were created during its execution.
-
def
waitingForThreads[T](body: ⇒ T): T
Execute code and then wait for all non-daemon Threads created and begun during its execution to complete.
- object ClassPath
-
object
DocStrings
Utility methods for doc comment strings
- object Exceptional
- object ShowPickled extends Names
Deprecated Value Members
-
val
FakePos: reflect.internal.util.FakePos.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.FakePos
-
val
NoPosition: reflect.internal.util.NoPosition.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) Moved to scala.reflect.internal.util.NoPosition
-
val
ScalaClassLoader: reflect.internal.util.ScalaClassLoader.type
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) Moved to scala.reflect.internal.util.ScalaClassLoader
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: