diff options
author | michelou <michelou@epfl.ch> | 2005-10-11 17:42:53 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-10-11 17:42:53 +0000 |
commit | 4b2d79b21cf4a6dc46fd2c05539fc2cb593788f2 (patch) | |
tree | cfe0b4a449148625e29123973d4c05f54a4bf00b | |
parent | 7762de74a5779418c9f64faad8aaede5f1c6d7b6 (diff) | |
download | scala-4b2d79b21cf4a6dc46fd2c05539fc2cb593788f2.tar.gz scala-4b2d79b21cf4a6dc46fd2c05539fc2cb593788f2.tar.bz2 scala-4b2d79b21cf4a6dc46fd2c05539fc2cb593788f2.zip |
- updated copyright date.
-rw-r--r-- | sources/scalac/transformer/AddInterfacesPhase.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sources/scalac/transformer/AddInterfacesPhase.java b/sources/scalac/transformer/AddInterfacesPhase.java index 60c8ef441d..026ac5feda 100644 --- a/sources/scalac/transformer/AddInterfacesPhase.java +++ b/sources/scalac/transformer/AddInterfacesPhase.java @@ -1,6 +1,6 @@ /* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** -** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** +** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002-2005, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** \* */ @@ -11,11 +11,13 @@ package scalac.transformer; +import java.util.HashMap; +import java.util.Map; + import scalac.*; import scalac.symtab.*; -import scalac.util.Name; -import java.util.*; import scalac.util.Debug; +import scalac.util.Name; public class AddInterfacesPhase extends Phase { @@ -146,8 +148,11 @@ public class AddInterfacesPhase extends Phase { protected final HashMap/*<Symbol,Tree[]>*/ classToBody = new HashMap(); /** Return the class symbol corresponding to the given interface - * symbol. If the class does not need an interface, return the - * given symbol. + * symbol. If the class does not need an interface, return the + * given symbol. + * + * @param ifaceSym + * @return */ protected Symbol getClassSymbol(Symbol ifaceSym) { assert ifaceSym.isClass(): Debug.show(ifaceSym); |