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

Method loadClass

test/DefineClass.java:35–38  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

33 }
34
35 private static Class loadClass(String name) throws Exception {
36 return new MyClassLoader(DefineClass.class.getClassLoader()).defineClass
37 (name, read(findClass(name, new File(System.getProperty("user.dir")))));
38 }
39
40 private static void testStatic() throws Exception {
41 loadClass("DefineClass$Hello")

Callers 2

testStaticMethod · 0.95
testDerivedMethod · 0.95

Calls 5

readMethod · 0.95
findClassMethod · 0.95
getPropertyMethod · 0.95
getClassLoaderMethod · 0.80
defineClassMethod · 0.45

Tested by

no test coverage detected