Home / Function/ removeAssertions() — netty Function Reference

removeAssertions() — netty Function Reference

Architecture documentation for the removeAssertions() function in AbstractMicrobenchmarkBase.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3adfa809_f4d5_907a_c5f2_0166d67537c1["removeAssertions()"]
  9778b63c_6178_7689_7f4b_f7e25a1383ca["AbstractMicrobenchmarkBase"]
  3adfa809_f4d5_907a_c5f2_0166d67537c1 -->|defined in| 9778b63c_6178_7689_7f4b_f7e25a1383ca
  style 3adfa809_f4d5_907a_c5f2_0166d67537c1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/util/AbstractMicrobenchmarkBase.java lines 89–96

    static void removeAssertions(List<String> jvmArgs) {
        for (Iterator<String> iterator = jvmArgs.iterator(); iterator.hasNext();) {
            String jvmArg = iterator.next();
            if (jvmArg.startsWith("-ea")) {
                iterator.remove();
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does removeAssertions() do?
removeAssertions() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/util/AbstractMicrobenchmarkBase.java.
Where is removeAssertions() defined?
removeAssertions() is defined in microbench/src/main/java/io/netty/microbench/util/AbstractMicrobenchmarkBase.java at line 89.

Analyze Your Own Codebase

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

Try Supermodel Free