Skip to content

Detection of @Nullable or @NonNull on class#45

Merged
mk868 merged 1 commit intomainfrom
nullable_on_class
Jun 16, 2025
Merged

Detection of @Nullable or @NonNull on class#45
mk868 merged 1 commit intomainfrom
nullable_on_class

Conversation

@mk868
Copy link
Copy Markdown
Owner

@mk868 mk868 commented Jun 16, 2025

Related #37

Samples of invalid code:

package irrelevant;

import org.jspecify.annotations.Nullable;

@Nullable
public class Prefix1 {
}
package irrelevant;

import org.jspecify.annotations.NonNull;

@NonNull
public record Prefix2() {
}

@mk868 mk868 merged commit eae835d into main Jun 16, 2025
6 checks passed
@mk868 mk868 deleted the nullable_on_class branch June 16, 2025 19:38
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

Successfully merging this pull request may close these issues.

1 participant