beforeAll() — netty Function Reference
Architecture documentation for the beforeAll() function in LeakPresenceExtension.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c8c6b3fb_0903_734e_5361_474d6783dcba["beforeAll()"] 4aa8c5e8_067e_2569_2cc8_34469837e207["LeakPresenceExtension"] c8c6b3fb_0903_734e_5361_474d6783dcba -->|defined in| 4aa8c5e8_067e_2569_2cc8_34469837e207 9e67bea4_72d5_7c77_8b5c_bfd0198ed575["ResourceScope()"] c8c6b3fb_0903_734e_5361_474d6783dcba -->|calls| 9e67bea4_72d5_7c77_8b5c_bfd0198ed575 style c8c6b3fb_0903_734e_5361_474d6783dcba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java lines 55–65
@Override
public void beforeAll(ExtensionContext context) {
ExtensionContext.Store store = context.getStore(ExtensionContext.Namespace.GLOBAL);
if (store.get(SCOPE_KEY) != null) {
throw new IllegalStateException("Weird context lifecycle");
}
LeakPresenceDetector.ResourceScope scope = new LeakPresenceDetector.ResourceScope(context.getDisplayName());
store.put(SCOPE_KEY, scope);
WithTransferableScope.SCOPE.set(scope);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does beforeAll() do?
beforeAll() is a function in the netty codebase, defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java.
Where is beforeAll() defined?
beforeAll() is defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java at line 55.
What does beforeAll() call?
beforeAll() calls 1 function(s): ResourceScope.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free