Packages

final class ClassInfo extends AnyRef

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

Instance Constructors

  1. new ClassInfo(name: ClassName, kind: ClassKind, jsClassCaptures: Option[List[ParamDef]], allFieldDefs: List[FieldDef], classImplementsAnyInterface: Boolean, hasInstances: Boolean, isAbstract: Boolean, hasRuntimeTypeInfo: Boolean, jsNativeLoadSpec: Option[JSNativeLoadSpec], jsNativeMembers: Map[MethodName, JSNativeLoadSpec], staticFieldMirrors: Map[FieldName, List[String]], _specialInstanceTypes: Int, resolvedMethodInfos: Map[MethodName, ConcreteMethodInfo], tableEntries: List[MethodName], _itableIdx: Int)

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 allFieldDefs: List[FieldDef]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val classImplementsAnyInterface: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val hasInstances: Boolean
  13. val hasRuntimeTypeInfo: Boolean
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val isAbstract: Boolean
  16. def isAncestorOfHijackedClass: Boolean

    Is this class an ancestor of any hijacked class?

    Is this class an ancestor of any hijacked class?

    This includes but is not limited to the hijacked classes themselves, as well as jl.Object.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isInterface: Boolean
  19. def itableIdx: Int

    Returns the index of this interface's itable in the classes' interface tables.

    Returns the index of this interface's itable in the classes' interface tables.

    Only interfaces that have instances get an itable index.

  20. val jsClassCaptures: Option[List[ParamDef]]
  21. val jsNativeLoadSpec: Option[JSNativeLoadSpec]
  22. val jsNativeMembers: Map[MethodName, JSNativeLoadSpec]
  23. val kind: ClassKind
  24. val name: ClassName
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val resolvedMethodInfos: Map[MethodName, ConcreteMethodInfo]
  29. val specialInstanceTypes: Int

    A bitset of the jsValueTypes corresponding to hijacked classes that extend this class.

    A bitset of the jsValueTypes corresponding to hijacked classes that extend this class.

    This value is used for instance tests against this class. A JS value x is an instance of this type iff jsValueType(x) is a member of this bitset. Because of how a bitset works, this means testing the following formula:

    ((1 << jsValueType(x)) & specialInstanceTypes) != 0

    For example, if this class is Comparable, we want the bitset to contain the values for boolean, string and number (but not undefined), because jl.Boolean, jl.String and jl.Double implement Comparable.

    This field is initialized with 0, and augmented during preprocessing by calls to addSpecialInstanceType.

    This technique is used both for static isInstanceOf tests as well as reflective tests through Class.isInstance. For the latter, this value is stored in typeData.specialInstanceTypes. For the former, it is embedded as a constant in the generated code.

    See the isInstance and genInstanceTest helpers.

    Special cases: this value remains 0 for all the numeric hijacked classes except jl.Double, since jsValueType(x) == JSValueTypeNumber is not enough to deduce that x.isInstanceOf[Int], for example.

  30. val staticFieldMirrors: Map[FieldName, List[String]]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. val tableEntries: List[MethodName]
  33. def toString(): String
    Definition Classes
    ClassInfo → AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped