| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/IJavaAnnotation.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/IJavaAnnotation.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/IJavaAnnotation.java
|
| index 52ace8bb0281494dd992f3754db0ca1d723551a0..d7e4aa3d33a0b76dfb1ad3dbce0e121d87a78df6 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/IJavaAnnotation.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/IJavaAnnotation.java
|
| @@ -13,6 +13,7 @@
|
| */
|
| package com.google.dart.tools.ui.internal.text.editor;
|
|
|
| +import com.google.dart.compiler.ErrorCode;
|
| import com.google.dart.tools.core.model.CompilationUnit;
|
|
|
| import java.util.Iterator;
|
| @@ -47,11 +48,9 @@ public interface IJavaAnnotation {
|
| CompilationUnit getCompilationUnit();
|
|
|
| /**
|
| - * Returns the problem id or <code>-1</code> if no problem id can be evaluated.
|
| - *
|
| - * @return returns the problem id or <code>-1</code>
|
| + * @return the problem {@link ErrorCode} or <code>null</code> if problem code can't be evaluated.
|
| */
|
| - int getId();
|
| + ErrorCode getId();
|
|
|
| /**
|
| * Returns the marker type associated to this problem or <code>null<code> if no marker type
|
|
|