You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lint-dev
I'm trying to replace the occurrence `this` in my class with a function called `getMyValue()` which I'm guessing in kotlin would be `myValue`. The function getMyValue() is a function is the parent class. The issue is, when I do alt+ enter to fix, the IDE correctly fixes it but spits out an unresolved reference. I'm guess it doesn't know where to find the method. What am I missing here and how would I fix this?
val fix = fix() .replace() .name("Replace with `myValue`") .text("this") .shortenNames() .reformat(true) .with("myValue") .build() context.report( LintIssueRegistry.ISSUE, node, context.getLocation(node), "Use `myValue` instead of `this`", fix )
Victor Oben
unread,
Jul 9, 2019, 1:06:02 PM7/9/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message