From 0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754 Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Mon, 6 Apr 2015 21:50:31 -0700 Subject: Track tools/base API change in Eclipse plugin Change-Id: Id1f6a80f8465ad97d392cda6083f374490aa8099 --- .../ide/eclipse/adt/internal/lint/EclipseLintClient.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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); + } + }; } -- cgit v1.1