summaryrefslogtreecommitdiff
path: root/src/library-aux/scala/AnyRef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library-aux/scala/AnyRef.scala')
-rw-r--r--src/library-aux/scala/AnyRef.scala19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/library-aux/scala/AnyRef.scala b/src/library-aux/scala/AnyRef.scala
index 7217499da7..67090bae47 100644
--- a/src/library-aux/scala/AnyRef.scala
+++ b/src/library-aux/scala/AnyRef.scala
@@ -100,33 +100,24 @@ trait AnyRef extends Any {
*/
protected def finalize(): Unit
- /** A representation that corresponds to the dynamic class of the receiver object.
- *
- * The nature of the representation is platform dependent.
- *
- * @note not specified by SLS as a member of AnyRef
- * @return a representation that corresponds to the dynamic class of the receiver object.
- */
- def getClass(): Class[_]
-
/** Wakes up a single thread that is waiting on the receiver object's monitor.
*
* @note not specified by SLS as a member of AnyRef
*/
- def notify(): Unit
+ final def notify(): Unit
/** Wakes up all threads that are waiting on the receiver object's monitor.
*
* @note not specified by SLS as a member of AnyRef
*/
- def notifyAll(): Unit
+ final def notifyAll(): Unit
/** Causes the current Thread to wait until another Thread invokes
* the notify() or notifyAll() methods.
*
* @note not specified by SLS as a member of AnyRef
*/
- def wait (): Unit
- def wait (timeout: Long, nanos: Int): Unit
- def wait (timeout: Long): Unit
+ final def wait (): Unit
+ final def wait (timeout: Long, nanos: Int): Unit
+ final def wait (timeout: Long): Unit
}