| Index: pkg/analyzer/lib/src/summary/summarize_elements.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/summarize_elements.dart b/pkg/analyzer/lib/src/summary/summarize_elements.dart
|
| index e0e5c952c918df0e39c891d1675eedb7165a84ff..b8828ecb3051aec04325fb32c5ea22e934149293 100644
|
| --- a/pkg/analyzer/lib/src/summary/summarize_elements.dart
|
| +++ b/pkg/analyzer/lib/src/summary/summarize_elements.dart
|
| @@ -609,6 +609,7 @@ class _CompilationUnitSerializer {
|
| List<UnlinkedPublicNameBuilder> bs = <UnlinkedPublicNameBuilder>[];
|
| for (FieldElement field in cls.fields) {
|
| if (field.isStatic && field.isConst && field.isPublic) {
|
| + // TODO(paulberry): include non-consts
|
| // TODO(paulberry): should numTypeParameters include class params?
|
| bs.add(new UnlinkedPublicNameBuilder(
|
| name: field.name,
|
| @@ -625,6 +626,17 @@ class _CompilationUnitSerializer {
|
| numTypeParameters: method.typeParameters.length));
|
| }
|
| }
|
| + for (PropertyAccessorElement accessor in cls.accessors) {
|
| + if (accessor.isStatic &&
|
| + accessor.isGetter &&
|
| + accessor.isPublic &&
|
| + !accessor.isSynthetic) {
|
| + // TODO(paulberry): combine with field code above.
|
| + // TODO(paulberry): should numTypeParameters include class params?
|
| + bs.add(new UnlinkedPublicNameBuilder(
|
| + name: accessor.name, kind: ReferenceKind.propertyAccessor));
|
| + }
|
| + }
|
| for (ConstructorElement constructor in cls.constructors) {
|
| if (constructor.isPublic && constructor.name.isNotEmpty) {
|
| // TODO(paulberry): should numTypeParameters include class params?
|
|
|