diff options
author | paltherr <paltherr@epfl.ch> | 2004-01-07 15:21:15 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-01-07 15:21:15 +0000 |
commit | dcac982fd6aefe45c6e91cb582044c54e40dee47 (patch) | |
tree | c60febe72e84ec2d511c465ca4644c209cfa625e | |
parent | 5090a8faa614fafd2919bfc0a90ffd6d914f88bb (diff) | |
download | scala-dcac982fd6aefe45c6e91cb582044c54e40dee47.tar.gz scala-dcac982fd6aefe45c6e91cb582044c54e40dee47.tar.bz2 scala-dcac982fd6aefe45c6e91cb582044c54e40dee47.zip |
- Added method hasStableFlag
-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 8deb6ef2e6..15e9a1ca1c 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -287,6 +287,11 @@ public abstract class Symbol implements Modifiers, Kinds { (flags & MUTABLE) == 0 && type().isObjectType()); } + /** Does this symbol have the STABLE flag? */ + public final boolean hasStableFlag() { + return (flags & STABLE) != 0; + } + /** Is this symbol final? */ public final boolean isFinal() { |