Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java

Issue 15741017: Issue 8365. Report error when user library imports an internal SDK library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java
index 042771ef19a9e296dd49f617308400061141e7f1..5f74e5aaf86a2e14d8c030d87861dabdc806217a 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/SdkLibrary.java
@@ -62,6 +62,13 @@ public interface SdkLibrary {
public boolean isImplementation();
/**
+ * Return {@code true} if library is internal can be used only by other SDK libraries.
+ *
+ * @return {@code true} if library is internal can be used only by other SDK libraries
+ */
+ public boolean isInternal();
+
+ /**
* Return {@code true} if library can be used for both client and server.
*
* @return {@code true} if this library can be used for both client and server.

Powered by Google App Engine
This is Rietveld 408576698