Hi all :android-wave:, I have few questions regard...
# android
a
Hi all 👋, I have few questions regarding custom lints. Is there a better Slack channel to ask these? I tried asking in the Google Group as suggested here. The messages are not allowed to be posted till someone approves them. (I am using Google Group for the first time and it seems a bit difficult to use compared to Slack) My current issue, How to differentiate a Java method calls from Kotlin method calls? https://kotlinlang.slack.com/archives/C0B8M7BUY/p1721222414199139?thread_ts=1721217114.011149&cid=C0B8M7BUY
c
to check if java or kotlin there is a helper function in
com.android.tools.lint.detector.api
example usage in one of my custom lints. https://github.com/chrimaeon/lint-logdebug/blob/efa4902e2a88ef8f3d919350101144672561fdcb/checks/src/main/kotlin/com/cmgapps/lint/LogDebugDetector.kt#L83
a
Thanks @Chrimaeon, Will check this out. 👍
a
Thank You thank you color. Noob question - Is there any easier way to explore cs.android site? I was randomly exploring it, but didn't get this package/directory.
c
no, its basically just a search tool.
a
Oh, okay.
d
@Abhimanyu Good to see people writing lint rules 👍 Have you tried writing a test and inspecting using the debugger? I had a quick look now and at least one difference would be that the top-level synthetic class has
node.identifyingElement.text == null