diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-01 00:02:50 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-01 00:02:50 +0000 |
commit | 4066bd9c1579ce1d5f8b85735149397dfaa4a076 (patch) | |
tree | 1388f0bb99ca7ab12d0c9beb1d6a6311c0dc5980 /sources | |
parent | b3d9ef712649edbe32bc7c52b903a6cba31fe168 (diff) | |
download | scala-4066bd9c1579ce1d5f8b85735149397dfaa4a076.tar.gz scala-4066bd9c1579ce1d5f8b85735149397dfaa4a076.tar.bz2 scala-4066bd9c1579ce1d5f8b85735149397dfaa4a076.zip |
- Removed methods Symbol.fullName and Symbol.fu...
- Removed methods Symbol.fullName and Symbol.fullNameString
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/symtab/Symbol.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java index 6b90e584c2..d622e2cadd 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -592,11 +592,6 @@ public abstract class Symbol implements Modifiers, Kinds { return name; } - /** Get the fully qualified name of this Symbol */ - public Name fullName() { - return simpleName(); - } - // Acess to related symbols ----------------------------------------------------- /** Get type parameters */ @@ -1102,14 +1097,6 @@ public abstract class Symbol implements Modifiers, Kinds { return NameTransformer.decode(simpleName()); } - /** String representation of symbol's full name. - * Translates expansions of operators back to operator symbol. E.g. - * $eq => =. - */ - public String fullNameString() { - return NameTransformer.decode(fullName()); - } - /** String representation, including symbol's kind * e.g., "class Foo", "function Bar". */ @@ -1387,12 +1374,6 @@ public class TermSymbol extends Symbol { .setInfo(Type.NoType); } - /** Get the fully qualified name of this Symbol */ - public Name fullName() { - if (clazz != null) return clazz.fullName(); - else return super.fullName(); - } - /** Is this symbol an instance initializer? */ public boolean isInitializer() { return clazz == null && name == Names.CONSTRUCTOR; @@ -1788,14 +1769,6 @@ public class ClassSymbol extends TypeSymbol { */ void setModule(Symbol module) { this.module = module; } - /** Get the fully qualified name of this Symbol */ - public Name fullName() { - if (owner().kind == CLASS && !owner().isRoot()) - return Name.fromString(owner().fullName() + "." + name); - else - return name.toTermName(); - } - public Type thisType() { Global global = Global.instance; if (global.currentPhase.id > global.PHASE.ERASURE.id()) return type(); |