summaryrefslogtreecommitdiff
path: root/src/library/scala/package.scala
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-06-28 00:03:56 +0200
committerVlad Ureche <vlad.ureche@gmail.com>2012-07-02 13:34:15 +0200
commitf8cb1aee92fa19e38a1481a4e614cd866ef238c0 (patch)
tree00bfb3a2f355f4fa4923e3aa5390eaa4975f7187 /src/library/scala/package.scala
parentf8057d22235c77d69d72d6ea4d4ebdc2eeb95cdf (diff)
downloadscala-f8cb1aee92fa19e38a1481a4e614cd866ef238c0.tar.gz
scala-f8cb1aee92fa19e38a1481a4e614cd866ef238c0.tar.bz2
scala-f8cb1aee92fa19e38a1481a4e614cd866ef238c0.zip
Diagram tweaks #1
- relaxed the restrictions on nodes - nodes can be classes, traits and objects, both stand-alone and companion objects -- all are added to the diagram, but usually companion objects are filtered out as they don't have any superclasses - changed the rules for default diagram creation: - classes and traits (and AnyRef) get inheritance diagrams - packages and objects get content diagrams (can be overridden by @contentDiagram [hideDiagram] and @inheritanceDiagram [hideDiagram]) - tweaked the model to register subclasses of Any - hardcoded the scala package diagram to show all relations - enabled @contentDiagram showInheritedNodes by default and changed the setting to hideInheritedNodes (and added a test for this) - better node selection (can select nodes that don't have a corresponding trait) - fixed the docsite link in member selection, which was broken since the first commit :))
Diffstat (limited to 'src/library/scala/package.scala')
-rw-r--r--src/library/scala/package.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/package.scala b/src/library/scala/package.scala
index e3890d7a9d..6460db534d 100644
--- a/src/library/scala/package.scala
+++ b/src/library/scala/package.scala
@@ -9,6 +9,7 @@
/**
* Core Scala types. They are always available without an explicit import.
+ * @contentDiagram hideNodes "scala.Serializable"
*/
package object scala {
type Throwable = java.lang.Throwable