org.scalajs.core.tools.optimizer.GenIncOptimizer

Class

class Class extends MethodContainer

Class in the class hierarchy (not an interface). A class may be a module class. A class knows its superclass and the interfaces it implements. It also maintains a list of its direct subclasses, so that the instances of Class form a tree of the class hierarchy.

Linear Supertypes
MethodContainer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Class
  2. MethodContainer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Class(superClass: Option[Class], _encodedName: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def allMethods(): Map[String, MethodImpl]

    All the methods of this class, including inherited ones.

    All the methods of this class, including inherited ones. It has () so we remember this is an expensive operation. UPDATE PASS ONLY.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def deleteSubtree(): Unit

    Delete this class and all its subclasses.

    Delete this class and all its subclasses. UPDATE PASS ONLY.

  10. val encodedName: String

    Definition Classes
    MethodContainer
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. var fields: List[FieldDef]

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. var hasElidableModuleAccessor: Boolean

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. var interfaces: Set[InterfaceType]

  19. var isInlineable: Boolean

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. var isInstantiated: Boolean

  22. var isModuleClass: Boolean

  23. val isStatic: Boolean

    Definition Classes
    MethodContainer
  24. final def lookupMethod(methodName: String): Option[MethodImpl]

    BOTH PASSES.

    BOTH PASSES.

    Annotations
    @tailrec()
  25. val methods: Map[String, MethodImpl]

    Definition Classes
    MethodContainer
  26. val myInterface: InterfaceType

    Definition Classes
    MethodContainer
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def notInstantiatedAnymore(): Unit

    UPDATE PASS ONLY.

  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def optimizedDefs: Iterable[LinkedMember[MethodDef]]

    Definition Classes
    MethodContainer
  32. val parentChain: List[Class]

    Parent chain from this to Object.

  33. val reverseParentChain: List[Class]

    Reverse parent chain from Object to this.

  34. def setupAfterCreation(linkedClass: LinkedClass): Unit

    UPDATE PASS ONLY.

  35. var subclasses: ParIterable[Class]

  36. val superClass: Option[Class]

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

    Definition Classes
    AnyRef
  38. def thisType: Type

    Definition Classes
    ClassMethodContainer
  39. def toString(): String

    Definition Classes
    Class → AnyRef → Any
  40. var tryNewInlineable: Option[RecordValue]

  41. def updateHasElidableModuleAccessor(): Unit

    UPDATE PASS ONLY.

  42. def updateIsInlineable(linkedClass: LinkedClass): Boolean

    UPDATE PASS ONLY.

  43. def updateWith(linkedClass: LinkedClass): (Set[String], Set[String], Set[String])

    UPDATE PASS ONLY.

    UPDATE PASS ONLY. Global concurrency safe but not on same instance

    Definition Classes
    MethodContainer
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def walkClassesForDeletions(getLinkedClassIfNeeded: (String) ⇒ Option[LinkedClass]): Boolean

    Walk the class hierarchy tree for deletions.

    Walk the class hierarchy tree for deletions. This includes "deleting" classes that were previously instantiated but are no more. UPDATE PASS ONLY. Not concurrency safe on same instance.

  48. def walkForAdditions(getNewChildren: (String) ⇒ GenIterable[LinkedClass]): Unit

    UPDATE PASS ONLY.

  49. def walkForChanges(getLinkedClass: (String) ⇒ LinkedClass, parentMethodAttributeChanges: Set[String]): Unit

    UPDATE PASS ONLY.

Inherited from MethodContainer

Inherited from AnyRef

Inherited from Any

Ungrouped