o

org.scalajs.ir

WellKnownNames

object WellKnownNames

Names for "well-known" classes and methods.

Well-known classes and methods have a dedicated meaning in the semantics of the IR. For example, java.lang.Class is well-known because it is the type of ClassOf nodes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WellKnownNames
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ArithmeticExceptionClass: ClassName

    The exception thrown by a division by 0.

  5. val ArrayIndexOutOfBoundsExceptionClass: ClassName

    The exception thrown by an ArraySelect that is out of bounds.

  6. val ArrayStoreExceptionClass: ClassName

    The exception thrown by an Assign(ArraySelect, ...) where the value cannot be stored.

  7. val BoxedBooleanClass: ClassName
  8. val BoxedByteClass: ClassName
  9. val BoxedCharacterClass: ClassName
  10. val BoxedClassToPrimType: Map[ClassName, PrimType]

    Map from hijacked classes to their respective primitive types.

  11. val BoxedDoubleClass: ClassName
  12. val BoxedFloatClass: ClassName
  13. val BoxedIntegerClass: ClassName
  14. val BoxedLongClass: ClassName
  15. val BoxedShortClass: ClassName
  16. val BoxedStringClass: ClassName
  17. val BoxedUnitClass: ClassName
  18. val ClassCastExceptionClass: ClassName

    The exception thrown by an AsInstanceOf that fails.

  19. val ClassClass: ClassName

    The class of things returned by ClassOf and GetClass.

  20. final val ClassInitializerName: MethodName

    Name of the class initializer method.

  21. val CloneableClass: ClassName

    java.lang.Cloneable, which is an ancestor of array classes and is used by Clone.

  22. final val DefaultModuleID: String

    ModuleID of the default module

  23. val HijackedClasses: Set[ClassName]

    The set of all hijacked classes.

  24. val IllegalArgumentExceptionClass: ClassName

    The exception thrown by a Class_newArray if the first argument is classOf[Unit].

  25. val NegativeArraySizeExceptionClass: ClassName

    The exception thrown by a NewArray(...) with a negative size.

  26. final val NoArgConstructorName: MethodName

    Name of a constructor without argument.

    Name of a constructor without argument.

    This is notably the signature of constructors of module classes.

  27. val NullPointerExceptionClass: ClassName

    The exception thrown by a variety of nodes for null arguments.

    The exception thrown by a variety of nodes for null arguments.

    • Apply and ApplyStatically for the receiver,
    • Select for the qualifier,
    • ArrayLength and ArraySelect for the array,
    • GetClass, Clone and UnwrapFromException for their respective only arguments.
  28. val ObjectClass: ClassName

    java.lang.Object, the root of the class hierarchy.

  29. val ObjectRef: ClassRef

    ClassRef(ObjectClass).

  30. val PrimTypeToBoxedClass: Map[PrimType, ClassName]

    Map from primitive types to their respective boxed (hijacked) classes.

  31. val SerializableClass: ClassName

    java.io.Serializable, which is an ancestor of array classes.

  32. final val StaticInitializerName: MethodName

    Name of the static initializer method.

  33. val StringIndexOutOfBoundsExceptionClass: ClassName

    The exception thrown by a BinaryOp.String_charAt that is out of bounds.

  34. val ThrowableClass: ClassName

    The superclass of all throwables.

    The superclass of all throwables.

    This is the result type of WrapAsThrowable nodes, as well as the input type of UnwrapFromThrowable.

  35. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  36. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  39. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped