Skip to content

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

Open
@ganadist

Description

@ganadist

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions