Index: pkg/compiler/lib/src/common_elements.dart |
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart |
index 58b7f9db19d8e34d874d47abf73ab7c74e39a021..d9d9a5584bca52c946d7dc32f22c54bd77b9c7e1 100644 |
--- a/pkg/compiler/lib/src/common_elements.dart |
+++ b/pkg/compiler/lib/src/common_elements.dart |
@@ -1334,8 +1334,18 @@ abstract class ElementEnvironment { |
/// on deferred libraries. |
bool isDeferredLoadLibraryGetter(MemberEntity member); |
+ /// Returns the metadata constants declared on [library]. |
+ Iterable<ConstantValue> getLibraryMetadata(LibraryEntity library); |
+ |
+ /// Returns the metadata constants declared on [cls]. |
+ Iterable<ConstantValue> getClassMetadata(ClassEntity cls); |
+ |
+ /// Returns the metadata constants declared on [typedef]. |
+ Iterable<ConstantValue> getTypedefMetadata(TypedefEntity typedef); |
+ |
/// Returns the metadata constants declared on [member]. |
- Iterable<ConstantValue> getMemberMetadata(MemberEntity member); |
+ Iterable<ConstantValue> getMemberMetadata(MemberEntity member, |
+ {bool includeParameterMetadata: false}); |
/// Returns the function type that is an alias of a [typedef]. |
FunctionType getFunctionTypeOfTypedef(TypedefEntity typedef); |