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 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.
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.
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
JvmFieldannotation is using forISSUEinstance.But in my understand, it seems that
JvmFieldannotation is not required to Registering the issue.And also, I tried to remove
JvmFieldannotation from SampleCodeDetector of HEAD, but it seems to be worked well at:app:lintDebugtask or Android Studio.Gradle scan output:
https://scans.gradle.com/s/dmijqsoka624a/console-log?page=1#L178
Is it okay to remove
JvmFieldannotation for my custom lint rules?Or please describe why
JvmFieldannotation is required at Creating the issue section.