Skip to content

Consider allowing the default Map constructor also to have null-checks performed #1

@tvinke

Description

@tvinke

Have the default Map constructor also check for null values.

@tvinke.bulletproof.transform.NonNull
class Person {
    String name
}
new Person() // should also throws IllegalArgumentException: "Name can not be null"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions