Lint: Fix KT-12009: IAE at JavaContext.getLocation()

This commit is contained in:
Yan Zhulanow
2016-04-22 19:08:01 +03:00
parent 9ea7a4f112
commit d478b90fb8
@@ -69,7 +69,7 @@ public class JavaContext extends Context implements UastAndroidContext {
* @return a location for the given node
*/
@Override
public Location getLocation(@NotNull UElement element) {
public Location getLocation(@Nullable UElement element) {
return UastAndroidContext.DefaultImpls.getLocation(this, element);
}