case class PackagePartsRenamer(oldPackageParts: List[String], newPackageParts: List[String]) extends Product with Serializable
Rename for an importer.
E.g.
file://root/a/b/d/e/File.scala
package a.b
package d.e
object SomeObject { }
Gets moved to file://root/a/b/c/File.scala.
In file with reference:
package a.b
import a.b.d.e.SomeObject
val m = d.e.SomeObject
We will rename:
- a.b.d.e.SomeObject -> a.b.c.SomeObject
which corresponds to
PackagePartsRenamer(List("a", "b", "d", "e"), List("a", "b", "c"))
- d.e.SomeObject -> c.SomeObject
which corresponds to
PackagePartsRenamer(List("d", "e"), List("c"))
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PackagePartsRenamer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def dropFromBoth(i: Int): PackagePartsRenamer
- def dropFromOld(i: Int): PackagePartsRenamer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val newPackageParts: List[String]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val oldPackageParts: List[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)