You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create my custom line rule.
And I have a question while writing it.
In Creating the issue section, sample code shows that JvmField annotation is using for ISSUE instance.
But in my understand, it seems that JvmField annotation is not required to Registering the issue.
And also, I tried to remove JvmField annotation from SampleCodeDetector of HEAD, but it seems to be worked well at :app:lintDebug task or Android Studio.
Is it okay to remove JvmField annotation for my custom lint rules?
Or please describe why JvmField annotation is required at Creating the issue section.
The text was updated successfully, but these errors were encountered:
Hello.
I tried to create my custom line rule.
And I have a question while writing it.
In Creating the issue section, sample code shows that
JvmField
annotation is using forISSUE
instance.But in my understand, it seems that
JvmField
annotation is not required to Registering the issue.And also, I tried to remove
JvmField
annotation from SampleCodeDetector of HEAD, but it seems to be worked well at:app:lintDebug
task or Android Studio.Gradle scan output:
https://scans.gradle.com/s/dmijqsoka624a/console-log?page=1#L178
Is it okay to remove
JvmField
annotation for my custom lint rules?Or please describe why
JvmField
annotation is required at Creating the issue section.The text was updated successfully, but these errors were encountered: