Add type annotations to top-level and static fields.

R=nweiz@google.com

Review URL: https://codereview.chromium.org//1064273002
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4eb8ec9..ea38c19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.3.5
+
+* Added type annotations to top-level and static fields.
+
 ## 1.3.4
 
 * Fix dev_compiler warnings.
diff --git a/lib/path.dart b/lib/path.dart
index cfbaf11..af9efe5 100644
--- a/lib/path.dart
+++ b/lib/path.dart
@@ -54,13 +54,13 @@
 export 'src/style.dart';
 
 /// A default context for manipulating POSIX paths.
-final posix = new Context(style: Style.posix);
+final Context posix = new Context(style: Style.posix);
 
 /// A default context for manipulating Windows paths.
-final windows = new Context(style: Style.windows);
+final Context windows = new Context(style: Style.windows);
 
 /// A default context for manipulating URLs.
-final url = new Context(style: Style.url);
+final Context url = new Context(style: Style.url);
 
 /// The system path context.
 ///
diff --git a/lib/src/style.dart b/lib/src/style.dart
index a94ec68..e0e0e01 100644
--- a/lib/src/style.dart
+++ b/lib/src/style.dart
@@ -13,14 +13,14 @@
 abstract class Style {
   /// POSIX-style paths use "/" (forward slash) as separators. Absolute paths
   /// start with "/". Used by UNIX, Linux, Mac OS X, and others.
-  static final posix = new PosixStyle();
+  static final Style posix = new PosixStyle();
 
   /// Windows paths use "\" (backslash) as separators. Absolute paths start with
   /// a drive letter followed by a colon (example, "C:") or two backslashes
   /// ("\\") for UNC paths.
   // TODO(rnystrom): The UNC root prefix should include the drive name too, not
   // just the "\\".
-  static final windows = new WindowsStyle();
+  static final Style windows = new WindowsStyle();
 
   /// URLs aren't filesystem paths, but they're supported to make it easier to
   /// manipulate URL paths in the browser.
@@ -28,13 +28,13 @@
   /// URLs use "/" (forward slash) as separators. Absolute paths either start
   /// with a protocol and optional hostname (e.g. `http://dartlang.org`,
   /// `file://`) or with "/".
-  static final url = new UrlStyle();
+  static final Style url = new UrlStyle();
 
   /// The style of the host platform.
   ///
   /// When running on the command line, this will be [windows] or [posix] based
   /// on the host operating system. On a browser, this will be [url].
-  static final platform = _getPlatformStyle();
+  static final Style platform = _getPlatformStyle();
 
   /// Gets the type of the host platform.
   static Style _getPlatformStyle() {
diff --git a/pubspec.yaml b/pubspec.yaml
index 9c837e9..835129a 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: path
-version: 1.3.4
+version: 1.3.5
 author: Dart Team <misc@dartlang.org>
 description: >
  A string-based path manipulation library. All of the path operations you know