Update analyzer docs based on previous feedback

Change-Id: I165ac4b816f5dc2c244e53387436dd2409774557
Reviewed-on: https://dart-review.googlesource.com/c/80940
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/analyzer/doc/tutorial/element.md b/pkg/analyzer/doc/tutorial/element.md
index b16e4a4..88db476 100644
--- a/pkg/analyzer/doc/tutorial/element.md
+++ b/pkg/analyzer/doc/tutorial/element.md
@@ -7,8 +7,9 @@
 Generally speaking, an element represents something that is declared in the
 code, such as a class, method, or variable. Elements can be explicitly declared,
 such as the class defined by a class declaration, or implicitly declared, such
-as the default constructor defined for concrete classes that do not have any
-explicit constructor declarations.
+as the default constructor defined for classes that do not have any explicit
+constructor declarations. Elements that are implicitly declared are referred to
+as _synthetic_ elements.
 
 There are a few elements that represent entities that are not declared. For
 example, there is an element representing a compilation unit (`.dart` file) and
@@ -45,7 +46,7 @@
 
 ```dart
 analyzeSingleFile(AnalysisSession session, String path) async {
-  UnitElementResult result = await session.UnitElementResult(path);
+  UnitElementResult result = await session.getUnitElement(path);
   CompilationUnitElement element = result.element;
 }
 ```