Chromium Code Reviews| Index: pkg/dartdoc/lib/mirrors.dart |
| diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart |
| index 7297364cfdbee9523827f124c569dc278da9d9ac..ece50b396ef39f6dd01653da004cf17f03a5991d 100644 |
| --- a/pkg/dartdoc/lib/mirrors.dart |
| +++ b/pkg/dartdoc/lib/mirrors.dart |
| @@ -458,19 +458,38 @@ abstract class MethodMirror implements MemberMirror { |
| TypeMirror get returnType; |
| /** |
| - * Is [:true:] if this method is declared abstract. |
| + * Is the reflectee abstract? |
| */ |
| bool get isAbstract; |
| /** |
| - * Is [:true:] if this method is a constant constructor. |
| + * Is the reflectee a regular function or method? |
| + * |
| + * A function or method is regular if it is not a getter, setter, or |
| + * constructor. Note that operators, by this definition, are |
| + * regular methods. |
|
ahe
2012/11/06 10:07:47
What about factories?
|
| */ |
| - bool get isConst; |
| + bool get isRegularMethod; |
| + |
| + /** |
| + * Is the reflectee a const constructor? |
| + */ |
| + bool get isConstConstructor; |
| + |
| + /** |
| + * Is the reflectee a generative constructor? |
| + */ |
| + bool get isGenerativeConstructor; |
| + |
| + /** |
| + * Is the reflectee a redirecting constructor? |
| + */ |
| + bool get isRedirectingConstructor; |
| /** |
| - * Is [:true:] if this method is a factory method. |
| + * Is the reflectee a factory constructor? |
| */ |
| - bool get isFactory; |
| + bool get isFactoryConstructor; |
| /** |
| * Returns the constructor name for named constructors and factory methods, |