Skip to content

JSpecify @Nullable and @NonNull are not inlined for fields with default visibility #447

Description

@jonatan-ivanov

If a field has default visibility (no public/protected/private modifier), the formatter puts JSpecify @Nullable and @NonNull annotations into a separate line.

@NullableObjectone;
@NonNullObjecttwo;

will be

@NullableObjectone;
@NonNullObjecttwo;

See: #442

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions