scala.tools.nsc

# util

#### package util

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. util
2. AnyRef
3. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Type Members

1. #### abstract class CharArrayReader extends CharArrayReaderData

2. #### trait CharArrayReaderData extends AnyRef

3. #### abstract class ClassPath[T] extends AnyRef

   Represents a package which contains classes and other packages

4. #### class DeltaClassPath[T] extends MergedClassPath[T]

5. #### class DirectoryClassPath extends ClassPath[AbstractFile]

   A directory (or a .

6. #### class EmptyAction extends () ⇒ Unit

7. #### class FailedInterrupt extends Exception

8. #### type HashSet[T >: Null <: AnyRef] = reflect.internal.util.HashSet[T]

9. #### abstract class InterruptReq extends AnyRef

   A class of work items to be used in interrupt requests.

10. #### class JavaCharArrayReader extends Iterator[Char] with Cloneable

11. #### class JavaClassPath extends MergedClassPath[AbstractFile]

    The classpath when compiling with target:jvm.

12. #### class MergedClassPath[T] extends ClassPath[T]

    A classpath unifying multiple class- and sourcepath entries.

13. #### type Set[T <: AnyRef] = reflect.internal.util.Set[T]

14. #### class SimpleTracer extends AnyRef

    A simple tracer

15. #### class SourcePath[T] extends ClassPath[T]

    A Classpath containing source files

16. #### implicit final class StackTraceOps extends AnyVal with StackTracing

17. #### abstract class StatisticsInfo extends AnyRef

18. #### class WorkScheduler extends AnyRef

19. #### type AbstractFileClassLoader = reflect.internal.util.AbstractFileClassLoader

    Annotations
      @deprecated
    Deprecated

      (Since version 2.11.0) Moved to scala.reflect.internal.util.AbstractFileClassLoader

20. #### type BatchSourceFile = reflect.internal.util.BatchSourceFile

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) Moved to scala.reflect.internal.util.BatchSourceFile

21. #### type FakePos = reflect.internal.util.FakePos

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) Moved to scala.reflect.internal.util.FakePos

22. #### type Position = reflect.internal.util.Position

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) Moved to scala.reflect.internal.util.Position

23. #### type RangePosition = reflect.internal.util.RangePosition

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) Moved to scala.reflect.internal.util.RangePosition

24. #### type ScalaClassLoader = reflect.internal.util.ScalaClassLoader

    Annotations
      @deprecated
    Deprecated

      (Since version 2.11.0) Moved to scala.reflect.internal.util.ScalaClassLoader

25. #### type SourceFile = reflect.internal.util.SourceFile

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.0) Moved to scala.reflect.internal.util.SourceFile

### Value Members

1. #### val Chars: reflect.internal.Chars.type

2. #### object ClassPath

   This module provides star expansion of '-classpath' option arguments, behaves the same as java, see [http://java.

3. #### object DocStrings

   Utilitity methods for doc comment strings

4. #### object Exceptional

5. #### val HashSet: reflect.internal.util.HashSet.type

6. #### object ShowPickled extends Names

7. #### def returning[T](x: T)(f: (T) ⇒ Unit): T

   Apply a function and return the passed value

8. #### 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.

   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.)

9. #### def stackTraceString(ex: Throwable): String

10. #### def stringFromReader(reader: Reader): String

11. #### def stringFromStream(stream: (OutputStream) ⇒ Unit): String

12. #### def stringFromWriter(writer: (PrintWriter) ⇒ Unit): String

    Generate a string using a routine that wants to write on a stream.

13. #### lazy val trace: SimpleTracer

14. #### def trackingThreads[T](body: ⇒ T): (T, Seq[Thread])

    Executes the code and returns the result and any threads which were created during its execution.

15. #### def waitingForThreads[T](body: ⇒ T): T

    Execute code and then wait for all non-daemon Threads created and begun during its execution to complete.

### Deprecated Value Members

1. #### val FakePos: reflect.internal.util.FakePos.type

   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Moved to scala.reflect.internal.util.FakePos

2. #### val NoPosition: reflect.internal.util.NoPosition.type

   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.0) Moved to scala.reflect.internal.util.NoPosition

3. #### val ScalaClassLoader: reflect.internal.util.ScalaClassLoader.type

   Annotations
     @deprecated
   Deprecated

     (Since version 2.11.0) Moved to scala.reflect.internal.util.ScalaClassLoader

### Inherited from AnyRef

### Inherited from Any

### Ungrouped