Scala Compiler2.12.2 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package backend
  Definition Classes
    nsc
-  package jvm
  Definition Classes
    backend
-  package opt
  Definition Classes
    jvm
-  class BoxUnbox [BT <: BTypes] extends AnyRef
  Definition Classes
    opt
- BoxConsumer
- BoxCreation
- BoxKind
- CopyOpsIterator
- EscapingConsumer
- InstanceCreation
- ModuleFactory
- ModuleGetter
- PrimitiveBox
- PrimitiveBoxingGetter
- PrimitiveUnboxingGetter
- Ref
- StaticFactory
- StaticGetterOrInstanceRead
- StaticSetterOrInstanceWrite
- Tuple

c

scala.tools.nsc.backend.jvm.opt.BoxUnbox

# CopyOpsIterator 

###

#### class CopyOpsIterator extends Iterator[AbstractInsnNode]

For a set of box creation operations and a corresponding set of box consumer operations, this iterator returns all copy operations (load, store, dup) that are in between.

Source
  BoxUnbox.scala

Linear Supertypes
collection.Iterator[AbstractInsnNode], collection.TraversableOnce[AbstractInsnNode], GenTraversableOnce[AbstractInsnNode], AnyRef, Any
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. CopyOpsIterator
2. Iterator
3. TraversableOnce
4. GenTraversableOnce
5. AnyRef
6. Any

Implicitly

1. by MonadOps
2. by any2stringadd
3. by StringFormat
4. by Ensuring
5. by ArrowAssoc
6. by alternateImplicit

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new CopyOpsIterator(initialCreations: Set[BoxCreation], finalCons: Set[BoxConsumer], prodCons: ProdConsAnalyzer)

### Type Members

1.  class GroupedIterator[B >: A] extends AbstractIterator[collection.Seq[B]] with collection.Iterator[collection.Seq[B]]
   Definition Classes
     Iterator

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to any2stringadd[CopyOpsIterator] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ++[B >: AbstractInsnNode](that: ⇒ GenTraversableOnce[B]): collection.Iterator[B]
   Definition Classes
     Iterator
5.  def ->[B](y: B): (CopyOpsIterator, B)
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to ArrowAssoc[CopyOpsIterator] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
6.  def /:[B](z: B)(op: (B, AbstractInsnNode) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
7.  def :\[B](z: B)(op: (AbstractInsnNode, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
8.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def addString(b: StringBuilder): StringBuilder
   Definition Classes
     TraversableOnce
10.  def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
      TraversableOnce
11.  def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
      TraversableOnce
12.  def aggregate[B](z: ⇒ B)(seqop: (B, AbstractInsnNode) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
13.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
14.  def buffered: collection.BufferedIterator[AbstractInsnNode]
    Definition Classes
      Iterator
15.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
16.  def collect[B](pf: PartialFunction[AbstractInsnNode, B]): collection.Iterator[B]
    Definition Classes
      Iterator
    Annotations
      @migration
    Migration

      (Changed in version 2.8.0) `collect` has changed. The previous behavior can be reproduced with `toSeq`.

17.  def collectFirst[B](pf: PartialFunction[AbstractInsnNode, B]): Option[B]
    Definition Classes
      TraversableOnce
18.  def contains(elem: Any): Boolean
    Definition Classes
      Iterator
19.  def copyToArray[B >: AbstractInsnNode](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
20.  def copyToArray[B >: AbstractInsnNode](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
21.  def copyToArray[B >: AbstractInsnNode](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
22.  def copyToBuffer[B >: AbstractInsnNode](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
23.  def corresponds[B](that: GenTraversableOnce[B])(p: (AbstractInsnNode, B) ⇒ Boolean): Boolean
    Definition Classes
      Iterator
24.  def count(p: (AbstractInsnNode) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
25.  def drop(n: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
26.  def dropWhile(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
27.  def duplicate: (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
28.  def ensuring(cond: (CopyOpsIterator) ⇒ Boolean, msg: ⇒ Any): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
29.  def ensuring(cond: (CopyOpsIterator) ⇒ Boolean): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
30.  def ensuring(cond: Boolean, msg: ⇒ Any): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
31.  def ensuring(cond: Boolean): CopyOpsIterator
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to Ensuring[CopyOpsIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
32.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
33.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
34.  def exists(p: (AbstractInsnNode) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
35.  def filter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
36.  def filterNot(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
37.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
38.  def find(p: (AbstractInsnNode) ⇒ Boolean): Option[AbstractInsnNode]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
39.  def flatMap[B](f: (AbstractInsnNode) ⇒ GenTraversableOnce[B]): collection.Iterator[B]
    Definition Classes
      Iterator
40.  def fold[A1 >: AbstractInsnNode](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
41.  def foldLeft[B](z: B)(op: (B, AbstractInsnNode) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
42.  def foldRight[B](z: B)(op: (AbstractInsnNode, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
43.  def forall(p: (AbstractInsnNode) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
44.  def foreach[U](f: (AbstractInsnNode) ⇒ U): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
45.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from CopyOpsIterator to StringFormat[CopyOpsIterator] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
46.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
47.  def grouped[B >: AbstractInsnNode](size: Int): GroupedIterator[B]
    Definition Classes
      Iterator
48.  def hasDefiniteSize: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
49.  def hasNext: Boolean
    Definition Classes
      CopyOpsIterator → Iterator
50.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
51.  def indexOf[B >: AbstractInsnNode](elem: B, from: Int): Int
    Definition Classes
      Iterator
52.  def indexOf[B >: AbstractInsnNode](elem: B): Int
    Definition Classes
      Iterator
53.  def indexWhere(p: (AbstractInsnNode) ⇒ Boolean, from: Int): Int
    Definition Classes
      Iterator
54.  def indexWhere(p: (AbstractInsnNode) ⇒ Boolean): Int
    Definition Classes
      Iterator
55.  def isEmpty: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
56.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
57.  def isTraversableAgain: Boolean
    Definition Classes
      Iterator → GenTraversableOnce
58.  def length: Int
    Definition Classes
      Iterator
59.  def map[B](f: (AbstractInsnNode) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
60.  def max[B >: AbstractInsnNode](implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
61.  def maxBy[B](f: (AbstractInsnNode) ⇒ B)(implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
62.  def min[B >: AbstractInsnNode](implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
63.  def minBy[B](f: (AbstractInsnNode) ⇒ B)(implicit cmp: Ordering[B]): AbstractInsnNode
    Definition Classes
      TraversableOnce → GenTraversableOnce
64.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
65.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
66.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
67.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
68.  def next(): AbstractInsnNode
    Definition Classes
      CopyOpsIterator → Iterator
69.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
70.  final def notify(): Unit
    Definition Classes
      AnyRef
71.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
72.  def padTo[A1 >: AbstractInsnNode](len: Int, elem: A1): collection.Iterator[A1]
    Definition Classes
      Iterator
73.  def partition(p: (AbstractInsnNode) ⇒ Boolean): (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
74.  def patch[B >: AbstractInsnNode](from: Int, patchElems: collection.Iterator[B], replaced: Int): collection.Iterator[B]
    Definition Classes
      Iterator
75.  def product[B >: AbstractInsnNode](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
76.  def reduce[A1 >: AbstractInsnNode](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
77.  def reduceLeft[B >: AbstractInsnNode](op: (B, AbstractInsnNode) ⇒ B): B
    Definition Classes
      TraversableOnce
78.  def reduceLeftOption[B >: AbstractInsnNode](op: (B, AbstractInsnNode) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
79.  def reduceOption[A1 >: AbstractInsnNode](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
80.  def reduceRight[B >: AbstractInsnNode](op: (AbstractInsnNode, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
81.  def reduceRightOption[B >: AbstractInsnNode](op: (AbstractInsnNode, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
82.  def reversed: List[AbstractInsnNode]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
83.  def sameElements(that: collection.Iterator[_]): Boolean
    Definition Classes
      Iterator
84.  def scanLeft[B](z: B)(op: (B, AbstractInsnNode) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
85.  def scanRight[B](z: B)(op: (AbstractInsnNode, B) ⇒ B): collection.Iterator[B]
    Definition Classes
      Iterator
86.  def seq: collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
87.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
88.  def sizeHintIfCheap: Int
    Attributes
      protected[scala.collection]
    Definition Classes
      GenTraversableOnce
89.  def slice(from: Int, until: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
90.  def sliceIterator(from: Int, until: Int): collection.Iterator[AbstractInsnNode]
    Attributes
      protected
    Definition Classes
      Iterator
91.  def sliding[B >: AbstractInsnNode](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
      Iterator
92.  def span(p: (AbstractInsnNode) ⇒ Boolean): (collection.Iterator[AbstractInsnNode], collection.Iterator[AbstractInsnNode])
    Definition Classes
      Iterator
93.  def sum[B >: AbstractInsnNode](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
94.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
95.  def take(n: Int): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
96.  def takeWhile(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
    Definition Classes
      Iterator
97.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, AbstractInsnNode, Col[AbstractInsnNode]]): Col[AbstractInsnNode]
    Definition Classes
      TraversableOnce → GenTraversableOnce
98.  def toArray[B >: AbstractInsnNode](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
99.  def toBuffer[B >: AbstractInsnNode]: Buffer[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
100.  def toIndexedSeq: collection.immutable.IndexedSeq[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
101.  def toIterable: collection.Iterable[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
102.  def toIterator: collection.Iterator[AbstractInsnNode]
     Definition Classes
       Iterator → GenTraversableOnce
103.  def toList: List[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  def toMap[T, U](implicit ev: <:<[AbstractInsnNode, (T, U)]): Map[T, U]
     Definition Classes
       TraversableOnce → GenTraversableOnce
105.  def toSeq: collection.Seq[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
106.  def toSet[B >: AbstractInsnNode]: Set[B]
     Definition Classes
       TraversableOnce → GenTraversableOnce
107.  def toStream: collection.immutable.Stream[AbstractInsnNode]
     Definition Classes
       Iterator → GenTraversableOnce
108.  def toString(): String
     Definition Classes
       Iterator → AnyRef → Any
109.  def toTraversable: collection.Traversable[AbstractInsnNode]
     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce
110.  def toVector: Vector[AbstractInsnNode]
     Definition Classes
       TraversableOnce → GenTraversableOnce
111.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
112.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
113.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
114.  def withFilter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
     Definition Classes
       Iterator
115.  def zip[B](that: collection.Iterator[B]): collection.Iterator[(AbstractInsnNode, B)]
     Definition Classes
       Iterator
116.  def zipAll[B, A1 >: AbstractInsnNode, B1 >: B](that: collection.Iterator[B], thisElem: A1, thatElem: B1): collection.Iterator[(A1, B1)]
     Definition Classes
       Iterator
117.  def zipWithIndex: collection.Iterator[(AbstractInsnNode, Int)]
     Definition Classes
       Iterator
118.  def →[B](y: B): (CopyOpsIterator, B)
     Implicit
       This member is added by an implicit conversion from CopyOpsIterator to ArrowAssoc[CopyOpsIterator] performed by method ArrowAssoc in scala.Predef.
     Definition Classes
       ArrowAssoc

### Shadowed Implicit Value Members

1.  def filter(p: (AbstractInsnNode) ⇒ Boolean): collection.TraversableOnce[AbstractInsnNode]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).filter(p)

   Definition Classes
     MonadOps
2.  def flatMap[B](f: (AbstractInsnNode) ⇒ GenTraversableOnce[B]): collection.TraversableOnce[B]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).flatMap(f)

   Definition Classes
     MonadOps
3.  def map[B](f: (AbstractInsnNode) ⇒ B): collection.TraversableOnce[B]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).map(f)

   Definition Classes
     MonadOps
4.  def withFilter(p: (AbstractInsnNode) ⇒ Boolean): collection.Iterator[AbstractInsnNode]
   Implicit
     This member is added by an implicit conversion from CopyOpsIterator to MonadOps[AbstractInsnNode] performed by method MonadOps in scala.collection.TraversableOnce.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (copyOpsIterator: MonadOps[AbstractInsnNode]).withFilter(p)

   Definition Classes
     MonadOps

### Inherited from collection.Iterator[AbstractInsnNode]

### Inherited from collection.TraversableOnce[AbstractInsnNode]

### Inherited from GenTraversableOnce[AbstractInsnNode]

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion MonadOps from CopyOpsIterator to MonadOps[AbstractInsnNode]

### Inherited by implicit conversion any2stringadd from CopyOpsIterator to any2stringadd[CopyOpsIterator]

### Inherited by implicit conversion StringFormat from CopyOpsIterator to StringFormat[CopyOpsIterator]

### Inherited by implicit conversion Ensuring from CopyOpsIterator to Ensuring[CopyOpsIterator]

### Inherited by implicit conversion ArrowAssoc from CopyOpsIterator to ArrowAssoc[CopyOpsIterator]

### Inherited by implicit conversion alternateImplicit from CopyOpsIterator to ForceImplicitAmbiguity

### Ungrouped