diff options
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java index 94a7da1..154d35e 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java @@ -293,6 +293,19 @@ public class EclipseLintClient extends LintClient { model.releaseFromRead(); } } + + @Override + @NonNull + public Location getNameLocation(@NonNull XmlContext context, @NonNull Node node) { + return getLocation(context, node); + } + + @Override + @NonNull + public Location getValueLocation(@NonNull XmlContext context, @NonNull Attr node) { + return getLocation(context, node); + } + }; } |