Back to Intellij Community

Description

java/java-impl/resources/intentionDescriptions/ObjectsRequireNonNullIntention/description.html

2025.3-rc-2257 B
Original Source

Converts a variable read access where the variable is first checked for null using either a @NonNull annotation, an if statement which throws an exception, or an assert statement to an expression using a call to java.util.Objects.requireNonNull().