object BoxKind
- Source
- BoxUnbox.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BoxKind
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
checkInstanceCreation(newOp: TypeInsnNode, prodCons: (backendUtils)#ProdConsAnalyzer): Option[(InsnNode, MethodInsnNode)]
Check if
newOp
is part of a standard object construction pattern in which:Check if
newOp
is part of a standard object construction pattern in which:NEW T DUP [load constructor args] INVOKESPECIAL T.init
The method ensures that the entire construction pattern is closed in itself, without any branches going in or out. This is checked by looking at producers / consumers:
DUP
is the only consumer ofNEW
, and vice versaDUP
the only producer for the receiver of the constructor call- The set of consumers of
DUP
without the constructor call is the same as the set of consumers of the value on the stack top after the constructor call
-
def
checkReceiverPredefLoad(mi: MethodInsnNode, prodCons: (backendUtils)#ProdConsAnalyzer): Option[AbstractInsnNode]
If
mi
is an invocation of a method on Predef, check if the receiver is a GETSTATIC of Predef.MODULE$ and return it. -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def valueCreationKind(insn: AbstractInsnNode, prodCons: (backendUtils)#ProdConsAnalyzer): Option[(BoxCreation, BoxKind)]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
The Scala compiler and reflection APIs.