diff options
author | paltherr <paltherr@epfl.ch> | 2004-01-25 12:41:52 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-01-25 12:41:52 +0000 |
commit | d3aeb53f30f8372b6df8355bdcbbd66eb23e9219 (patch) | |
tree | d25cc40b479809e30a470825eb849bd697e0d46e | |
parent | 7c6d1913875d9b624b769897144f84ced4575f56 (diff) | |
download | scala-d3aeb53f30f8372b6df8355bdcbbd66eb23e9219.tar.gz scala-d3aeb53f30f8372b6df8355bdcbbd66eb23e9219.tar.bz2 scala-d3aeb53f30f8372b6df8355bdcbbd66eb23e9219.zip |
- Added method isLocked
-rw-r--r-- | sources/scalac/symtab/Symbol.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java index e3b27d12f6..a0b19bdf76 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -776,6 +776,11 @@ public abstract class Symbol implements Modifiers, Kinds { return false; } + /** Is this symbol locked? */ + public final boolean isLocked() { + return (flags & LOCKED) != 0; + } + /** Is this symbol initialized? */ public final boolean isInitialized() { return (flags & INITIALIZED) != 0; |