diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-29 21:01:41 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-29 21:01:41 +0000 |
commit | df1f2259cb7a4b8e4e0549a69da679addd512ebc (patch) | |
tree | a7dcc1a36a06e7224826f3398665d1129f5fe9e1 /sources/scala | |
parent | f6c0572ee8fe91ea6d306e4599da831517c05029 (diff) | |
download | scala-df1f2259cb7a4b8e4e0549a69da679addd512ebc.tar.gz scala-df1f2259cb7a4b8e4e0549a69da679addd512ebc.tar.bz2 scala-df1f2259cb7a4b8e4e0549a69da679addd512ebc.zip |
- Removed reference to Definitions.JAVALANG
Diffstat (limited to 'sources/scala')
-rw-r--r-- | sources/scala/tools/scaladoc/HTMLGenerator.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sources/scala/tools/scaladoc/HTMLGenerator.java b/sources/scala/tools/scaladoc/HTMLGenerator.java index 1f63e0c6c3..fc718f0e40 100644 --- a/sources/scala/tools/scaladoc/HTMLGenerator.java +++ b/sources/scala/tools/scaladoc/HTMLGenerator.java @@ -47,6 +47,7 @@ import scalac.symtab.Type; import scalac.symtab.Type.*; import scalac.util.Debug; import scalac.util.Name; +import scalac.util.Names; import scalac.util.Strings; /** @@ -222,6 +223,8 @@ public class HTMLGenerator { protected final Symbol indexPage = new NoSymbol(); protected final Symbol helpPage = new NoSymbol(); + private final Symbol JAVALANG; // !!! remove ? + /** * Creates a new instance. * @@ -234,6 +237,7 @@ public class HTMLGenerator { this.subs = ScalaSearch.subTemplates(tree); this.anchors = Anchors.apply(tree); + this.JAVALANG = global.definitions.getClass(Names.java_lang); assert global.args instanceof HTMLGeneratorCommand; HTMLGeneratorCommand args = (HTMLGeneratorCommand) global.args; this.representation = new HTMLRepresentation( @@ -1025,7 +1029,7 @@ public class HTMLGenerator { if (prefix.symbol().isRoot()) return null; // Next line should be removed in theory. - if (prefix.symbol().moduleClass() == global.definitions.JAVALANG_CLASS) + if (prefix.symbol().moduleClass() == JAVALANG) return null; switch(prefix) { |