scala.tools.nsc.backend.icode.Opcodes.opcodes

# CHECK_CAST

#### case class CHECK_CAST(typ: ICodes.TypeKind) extends ICodes.Instruction with Product with Serializable

This class represents a CHECK_CAST instruction Stack: ...:ref(oldtype) ->: ...:ref(typ <=: oldtype)

Source
  Opcodes.scala

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, ICodes.Instruction, Cloneable, java.lang.Cloneable, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. CHECK_CAST
2. Serializable
3. Serializable
4. Product
5. Equals
6. Instruction
7. Cloneable
8. Cloneable
9. AnyRef
10. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Instance Constructors

1. #### new CHECK_CAST(typ: ICodes.TypeKind)

### 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 information
     This member is added by an implicit conversion from CHECK_CAST to any2stringadd[CHECK_CAST] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (CHECK_CAST, B)

   Implicit information
     This member is added by an implicit conversion from CHECK_CAST to ArrowAssoc[CHECK_CAST] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

5. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

6. #### final def asInstanceOf[T0]: T0

   Definition Classes
     Any

7. #### def category: Int

   Definition Classes
     CHECK_CAST → Instruction

8. #### def clone(): ICodes.Instruction

   Clone this instruction.

   Clone this instruction.

   Definition Classes
     Instruction → AnyRef

9. #### def consumed: Int

   This abstract method returns the number of used elements on the stack

   This abstract method returns the number of used elements on the stack

   Definition Classes
     CHECK_CAST → Instruction

10. #### def consumedTypes: collection.immutable.List[ICodes.TypeKind]

    This instruction consumes these types from the top of the stack, the first element in the list is the deepest element on the stack.

    This instruction consumes these types from the top of the stack, the first element in the list is the deepest element on the stack.

    Definition Classes
      CHECK_CAST → Instruction

11. #### def ensuring(cond: (CHECK_CAST) ⇒ Boolean, msg: ⇒ Any): CHECK_CAST

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to Ensuring[CHECK_CAST] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

12. #### def ensuring(cond: (CHECK_CAST) ⇒ Boolean): CHECK_CAST

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to Ensuring[CHECK_CAST] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

13. #### def ensuring(cond: Boolean, msg: ⇒ Any): CHECK_CAST

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to Ensuring[CHECK_CAST] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

14. #### def ensuring(cond: Boolean): CHECK_CAST

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to Ensuring[CHECK_CAST] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

15. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

16. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

17. #### def formatted(fmtstr: String): String

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to StringFormat[CHECK_CAST] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

18. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

19. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

20. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

21. #### final def notify(): Unit

    Definition Classes
      AnyRef

22. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

23. #### def pos: Position

    Definition Classes
      Instruction

24. #### def produced: Int

    This abstract method returns the number of produced elements on the stack

    This abstract method returns the number of produced elements on the stack

    Definition Classes
      CHECK_CAST → Instruction

25. #### def producedTypes: collection.immutable.List[ICodes.TypeKind]

    This instruction produces these types on top of the stack.

    This instruction produces these types on top of the stack.

    Definition Classes
      CHECK_CAST → Instruction

26. #### def setPos(p: Position): CHECK_CAST.this.type

    Definition Classes
      Instruction

27. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

28. #### def toString(): String

    Returns a string representation of this instruction

    Returns a string representation of this instruction

    Definition Classes
      CHECK_CAST → AnyRef → Any

29. #### val typ: ICodes.TypeKind

30. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

31. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

32. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

33. #### def →[B](y: B): (CHECK_CAST, B)

    Implicit information
      This member is added by an implicit conversion from CHECK_CAST to ArrowAssoc[CHECK_CAST] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from Serializable

### Inherited from java.io.Serializable

### Inherited from Product

### Inherited from Equals

### Inherited from ICodes.Instruction

### Inherited from Cloneable

### Inherited from java.lang.Cloneable

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped