diff options
Diffstat (limited to 'sources/scalac')
-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 dbdb0c2ebf..2b31c87b96 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -241,6 +241,11 @@ public abstract class Symbol implements Modifiers, Kinds { return (flags & INTERFACE) != 0; } + /** Does this symbol denote a synthetic symbol? */ + public final boolean isSynthetic() { + return (flags & SYNTHETIC) != 0; + } + /** Does this symbol denote a static member? */ public final boolean isStatic() { return (flags & STATIC) != 0; |