Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ClassTypeAlias.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ClassTypeAlias.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ClassTypeAlias.java |
index c286aece3461e84d4911a0e9256a49bcbd2f28d5..61340b1d5d9335a7470a468d8f4023cf71c78a5d 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ClassTypeAlias.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ClassTypeAlias.java |
@@ -173,6 +173,15 @@ public class ClassTypeAlias extends TypeAlias { |
} |
/** |
+ * Return {@code true} if this class is declared to be an abstract class. |
+ * |
+ * @return {@code true} if this class is declared to be an abstract class |
+ */ |
+ public boolean isAbstract() { |
+ return abstractKeyword != null; |
+ } |
+ |
+ /** |
* Set the token for the 'abstract' keyword to the given token. |
* |
* @param abstractKeyword the token for the 'abstract' keyword |