Index: pkg/analyzer/lib/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart |
index b348a15d9f416dfd9b12ea05c4bc511bc4f4e25f..0d35ba35a62f6f583d65196aadc3d4f0d6ad85ea 100644 |
--- a/pkg/analyzer/lib/dart/element/element.dart |
+++ b/pkg/analyzer/lib/dart/element/element.dart |
@@ -724,7 +724,7 @@ abstract class Element implements AnalysisTarget, ResolutionTarget { |
* Use the given [visitor] to visit this element. Return the value returned by |
* the visitor as a result of visiting this element. |
*/ |
- /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/ > visitor); |
+ T accept<T>(ElementVisitor<T> visitor); |
/** |
* Return the documentation comment for this element as it appears in the |
@@ -758,8 +758,7 @@ abstract class Element implements AnalysisTarget, ResolutionTarget { |
* [predicate] returns `true`, or `null` if there is no such ancestor. Note |
* that this element will never be returned. |
*/ |
- Element/*=E*/ getAncestor/*<E extends Element >*/( |
- Predicate<Element> predicate); |
+ E getAncestor<E extends Element>(Predicate<Element> predicate); |
/** |
* Return a display name for the given element that includes the path to the |