MCPcopy Create free account
hub / github.com/e2wugui/zeze / start

Method start

ZezeJava/ZezeJavaTest/src/Temp/ModuleTemp.java:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 @Override
24 public void start() {
25 var manager = app.manager;
26 var module = manager.getModuleContext("Temp", IModuleInterface.class);
27 var service = module.getService();
28 if (service == this)
29 System.out.println("Just Me!");
30 System.out.println(module.getClass().getClassLoader());
31 System.out.println(service.getClass().getClassLoader());
32 service.helloWorld();
33 }
34
35 @Override
36 public void helloWorld() {

Callers

nothing calls this directly

Calls 4

getModuleContextMethod · 0.80
getClassLoaderMethod · 0.80
helloWorldMethod · 0.65
getServiceMethod · 0.45

Tested by

no test coverage detected