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

Method buildCp

ZezeJava/ZezeJava/src/main/java/Zeze/Hot/HotManager.java:161–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 }
160
161 public String buildCp() {
162 var sb = new StringBuilder();
163 for (var jar : jars.keySet()) {
164 sb.append(jar).append(File.pathSeparatorChar);
165 }
166 for (var module : modules.values()) {
167 sb.append(module.getJarFileName()).append(File.pathSeparatorChar);
168 }
169 for (var path : Reflect.collectClassPaths(ClassLoader.getSystemClassLoader()))
170 sb.append(path).append(File.pathSeparatorChar);
171
172 return sb.toString();
173 }
174
175 @SuppressWarnings("unchecked")
176 private IModule[] createModuleInstance(Collection<HotModule> result) throws Exception {

Callers 1

initializeMethod · 0.95

Calls 6

collectClassPathsMethod · 0.95
getJarFileNameMethod · 0.80
valuesMethod · 0.65
keySetMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected