Lint: Fix KT-12009: IAE at JavaContext.getLocation()
This commit is contained in:
@@ -69,7 +69,7 @@ public class JavaContext extends Context implements UastAndroidContext {
|
|||||||
* @return a location for the given node
|
* @return a location for the given node
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Location getLocation(@NotNull UElement element) {
|
public Location getLocation(@Nullable UElement element) {
|
||||||
return UastAndroidContext.DefaultImpls.getLocation(this, element);
|
return UastAndroidContext.DefaultImpls.getLocation(this, element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user