Home / Function/ deepCheckNotNull() — netty Function Reference

deepCheckNotNull() — netty Function Reference

Architecture documentation for the deepCheckNotNull() function in ObjectUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  730a5543_ba74_a11d_7831_a5ee1a560fed["deepCheckNotNull()"]
  13c1c162_0c7f_9250_1333_d3520660541f["ObjectUtil"]
  730a5543_ba74_a11d_7831_a5ee1a560fed -->|defined in| 13c1c162_0c7f_9250_1333_d3520660541f
  style 730a5543_ba74_a11d_7831_a5ee1a560fed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/ObjectUtil.java lines 52–63

    public static <T> T[] deepCheckNotNull(String text, T... varargs) {
        if (varargs == null) {
            throw new NullPointerException(text);
        }

        for (T element : varargs) {
            if (element == null) {
                throw new NullPointerException(text);
            }
        }
        return varargs;
    }

Domain

Subdomains

Frequently Asked Questions

What does deepCheckNotNull() do?
deepCheckNotNull() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/ObjectUtil.java.
Where is deepCheckNotNull() defined?
deepCheckNotNull() is defined in common/src/main/java/io/netty/util/internal/ObjectUtil.java at line 52.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free