Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it still needed to use JvmField annotation for ISSUE instance? #82

Open
ganadist opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@ganadist
Copy link

ganadist commented Jul 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant