+ withClassPath $ do
+ -- Add current directory (with Hello.class) to ClassPath
+ addDirectory "."
+
+ -- Load method signature: Hello.hello() from Hello.class
+ helloJava <- getClassMethod "./Hello" "hello"
+
+ -- Initializer method. Just calls java.lang.Object.<init>