Skip to content

Check that nullability annotations are not used on local variable declarations #475

Description

@wilkinsona

From the JSpecify docs:

@Nullable and @NonNull aren't applied to local variables—at least not their root types. (They should be applied to type arguments and array components.)

We should enforce this (as best we can) with Checkstyle.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions