scala.tools.nsc

# util

#### package util

Source
  package.scala

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. #### trait ClassFileLookup[T] extends AnyRef

   Simple interface that allows us to abstract over how class file lookup is performed in different classpath representations.

4. #### abstract class ClassPath[T] extends ClassFileLookup[T]

   Represents a package which contains classes and other packages

5. #### trait ClassRepresentation[T] extends AnyRef

   Represents classes which can be loaded with a ClassfileLoader and/or SourcefileLoader.

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

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

   A directory (or a .jar file) containing classfiles and packages

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

9. #### class FailedInterrupt extends Exception

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

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

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

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

    The classpath when compiling with target:jvm.

    The classpath when compiling with target:jvm. Binary files (classfiles) are represented as AbstractFile. nsc.io.ZipArchive is used to view zip/jar archives as directories.

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

    A classpath unifying multiple class- and sourcepath entries.

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

16. #### class SimpleTracer extends AnyRef

    A simple tracer

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

    A Classpath containing source files

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

19. #### abstract class StatisticsInfo extends AnyRef

20. #### class WorkScheduler extends AnyRef

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

    Annotations
      @deprecated
    Deprecated

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

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

    Annotations
      @deprecated
    Deprecated

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

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

    Annotations
      @deprecated
    Deprecated

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

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

    Annotations
      @deprecated
    Deprecated

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

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

    Annotations
      @deprecated
    Deprecated

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

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

    Annotations
      @deprecated
    Deprecated

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

27. #### 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.sun.com/javase/6/docs/technotes/tools/windows/classpath.html]

3. #### object ClassRepresentation

4. #### object DocStrings

   Utility methods for doc comment strings

5. #### object Exceptional

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

7. #### object ShowPickled extends Names

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

   Apply a function and return the passed value

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

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

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

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

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

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

14. #### lazy val trace: SimpleTracer

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

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

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