Package

org.argus.jawa.compiler

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait CaseClassReflector extends Product

    Permalink
  2. sealed trait Change extends AnyRef

    Permalink

    The common interface for all changes.

    The common interface for all changes.

    Note: it's the super type of TextChange and NewFileChange. NewFileChanges are used by refactorings that create new source files (Move Class).

    Additionally, the file attribute is now of type SourceFile, because parts of the refactoring process need to access the content of the underlying source file.

  3. trait ControlThrowable extends Throwable with NoStackTrace

    Permalink

    A marker trait indicating that the Throwable it is mixed into is intended for flow control.

    A marker trait indicating that the Throwable it is mixed into is intended for flow control.

    Note that Throwable subclasses which extend this trait may extend any other Throwable subclass (eg. RuntimeException) and are not required to extend Throwable directly.

    Instances of Throwable subclasses marked in this way should not normally be caught. Where catch-all behaviour is required ControlThrowable should be propagated, for example:

    import scala.util.control.ControlThrowable
    
    try {
      // Body might throw arbitrarily
    } catch {
      case c: ControlThrowable => throw c // propagate
      case t: Exception        => log(t)  // log and suppress
    }
  4. class EmptyAction extends () ⇒ Unit

    Permalink
  5. class FailedInterrupt extends Exception

    Permalink
  6. abstract class InterruptReq extends AnyRef

    Permalink

    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.

  7. class Locator extends AnyRef

    Permalink

    A locator for trees with given positions.

    A locator for trees with given positions. Given a position pos, locator.apply returns the smallest tree that encloses pos.

  8. case class NewFileChange(fullName: String, text: String) extends Change with Product with Serializable

    Permalink

    The changes creates a new source file, indicated by the fullName parameter.

    The changes creates a new source file, indicated by the fullName parameter. It is of the form "some.package.FileName".

  9. trait NoStackTrace extends Throwable

    Permalink

    A trait for exceptions which, for efficiency reasons, do not fill in the stack trace.

    A trait for exceptions which, for efficiency reasons, do not fill in the stack trace. Stack trace suppression can be disabled on a global basis via a system property wrapper in scala.sys.SystemProperties.

    Since

    2.8

  10. case class TextChange(sourceFile: SourceFile, from: Int, to: Int, text: String) extends Change with Product with Serializable

    Permalink
  11. class WorkScheduler extends AnyRef

    Permalink

Value Members

  1. object Change

    Permalink
  2. object MyFileUtil

    Permalink

  3. object NoStackTrace extends Serializable

    Permalink
  4. object ReadClassFile

    Permalink

  5. package cp

    Permalink
  6. package refactoring

    Permalink

Ungrouped