MCPcopy Create free account
hub / github.com/ReadyTalk/avian / findClass

Method findClass

test/LazyLoading.java:53–62  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

51 }
52
53 protected Class findClass(String name) throws ClassNotFoundException {
54 try {
55 return defineClass
56 (name, read
57 (LazyLoading.findClass
58 (name, new File(System.getProperty("user.dir")))));
59 } catch (IOException e) {
60 throw new RuntimeException(e);
61 }
62 }
63
64 public Class loadClass(String name) throws ClassNotFoundException {
65 if ("LazyLoading$Test".equals(name)) {

Callers 1

loadClassMethod · 0.95

Calls 4

defineClassMethod · 0.95
findClassMethod · 0.95
getPropertyMethod · 0.95
readMethod · 0.65

Tested by

no test coverage detected