Home / Function/ afterEach() — netty Function Reference

afterEach() — netty Function Reference

Architecture documentation for the afterEach() function in LeakPresenceExtension.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8e69c9e3_8bb5_9596_b08e_92571de30579["afterEach()"]
  4aa8c5e8_067e_2569_2cc8_34469837e207["LeakPresenceExtension"]
  8e69c9e3_8bb5_9596_b08e_92571de30579 -->|defined in| 4aa8c5e8_067e_2569_2cc8_34469837e207
  style 8e69c9e3_8bb5_9596_b08e_92571de30579 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java lines 88–95

    @Override
    public void afterEach(ExtensionContext context) {
        LeakPresenceDetector.ResourceScope previousScope = (LeakPresenceDetector.ResourceScope)
                context.getStore(ExtensionContext.Namespace.GLOBAL).get(PREVIOUS_SCOPE_KEY);
        if (previousScope != null) {
            WithTransferableScope.SCOPE.set(previousScope);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does afterEach() do?
afterEach() is a function in the netty codebase, defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java.
Where is afterEach() defined?
afterEach() is defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java at line 88.

Analyze Your Own Codebase

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

Try Supermodel Free