org.moe.runtime

MoeClass

class MoeClass extends MoeObject

MoeClass!

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

Instance Constructors

  1. new MoeClass(name: String, version: Option[String] = scala.None, authority: Option[String] = scala.None, superclass: Option[MoeClass] = scala.None)

    name

    MoeClass

    version

    None

    authority

    None

    superclass

    None

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 addAttribute(attribute: MoeAttribute): Unit

    Adds an attribute to this class

  7. def addMethod(method: MoeMethod): Unit

    Adds a method to this class.

    Adds a method to this class.

    method

    The method to add to this class

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def callMethod(method: MoeMethod, args: List[MoeObject]): MoeObject

    Invoke the named method with the supplied arguments.

    Invoke the named method with the supplied arguments.

    args

    The list of arguments to provide to the method

    Definition Classes
    MoeObject
  10. def callMethod(method: MoeMethod): MoeObject

    Invoke the named method.

    Invoke the named method.

    Definition Classes
    MoeObject
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def collectAllAttributes: Map[String, MoeAttribute]

    Returns a scala.collection.Map of names and attributes for this class and all of it's superclasses.

  13. def collectAllMethods: Map[String, MoeMethod]

    Returns a scala.collection.Map of names and methods for this class and all of it's superclasses.

  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def getAssociatedClass: Some[MoeClass]

    Returns the class associted with this object, if there is one.

    Returns the class associted with this object, if there is one.

    Definition Classes
    MoeClassMoeObject
  18. def getAttribute(name: String): Option[MoeAttribute]

    Returns this class' attribute with the specified name.

    Returns this class' attribute with the specified name.

    name

    The name of the attribute to return

  19. def getAuthority: Option[String]

    Returns the authority of this class

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getConstructor: Option[MoeMethod]

  22. def getDestructor: Option[MoeMethod]

    TODO: add a BUILDALL style method that walks the MRO and calls all constructors

  23. def getID: Int

    Returns the ID of this class.

    Returns the ID of this class.

    Definition Classes
    MoeObject
  24. def getMRO: List[MoeClass]

    Gets a list of classes in method resolution order for this class.

  25. def getMethod(name: String): Option[MoeMethod]

    Returns this class' method with the specified name.

    Returns this class' method with the specified name.

    name

    The name of the method to return

  26. def getName: String

    Returns the name of this class

  27. def getSuperclass: Option[MoeClass]

    Returns this superclass of this class

  28. def getVersion: Option[String]

    Returns the version of this class

  29. def hasAssociatedClass: Boolean

    Returns true if a class is associated with this object.

    Returns true if a class is associated with this object.

    Definition Classes
    MoeObject
  30. def hasAttribute(name: String): Boolean

    Returns true if this class (or any of it's superclasses) has an attribute with the specified name.

    Returns true if this class (or any of it's superclasses) has an attribute with the specified name.

    name

    The name of the attribute to check for

  31. def hasMethod(name: String): Boolean

    Returns true if this class has a method with the specified name.

    Returns true if this class has a method with the specified name.

    name

    The name of the method to check for.

  32. def hasSuperclass: Boolean

    Returns true if this class has a superclass

  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. def isClassOf(klassname: String): Boolean

  35. def isClassOf(klass: MoeClass): Boolean

  36. def isFalse: Boolean

    Returns false.

    Returns false.

    Definition Classes
    MoeObject
  37. def isInstanceOf(klass: MoeClass): Boolean

    Definition Classes
    MoeObject
  38. def isInstanceOf(klassname: String): Boolean

    Ask if this object is-a instance of a class

    Ask if this object is-a instance of a class

    Definition Classes
    MoeObject
  39. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  40. def isTrue: Boolean

    Returns true.

    Returns true.

    Definition Classes
    MoeObject
  41. def isUndef: Boolean

    Returns false

    Returns false

    Definition Classes
    MoeObject
  42. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def newInstance: MoeObject

    Creates a new instance of this class.

  44. final def notify(): Unit

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

    Definition Classes
    AnyRef
  46. def removeAttribute(name: String): Unit

    Removes an attribute from this class

  47. def removeMethod(name: String): Unit

    Removes a method from this class

  48. def setAssociatedClass(c: Option[MoeClass]): Unit

    Set the class that is associated with this object.

    Set the class that is associated with this object.

    c

    The class to associate with this object.

    Definition Classes
    MoeObject
  49. def setContructor(c: Option[MoeMethod]): Unit

  50. def setDestructor(d: Option[MoeMethod]): Unit

  51. def setSuperclass(s: Option[MoeClass]): Unit

    Sets the superclass of this class.

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

    Definition Classes
    AnyRef
  53. def toString(): String

    Returns a string representation of this class.

    Returns a string representation of this class.

    Definition Classes
    MoeClassMoeObject → AnyRef → Any
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MoeObject

Inherited from AnyRef

Inherited from Any

Ungrouped