I want to load a resource in a top level function using Class.getResourceAsStream().
Class.getResourceAsStream()
Is there any way to get a reference to the class that the top level
With Java 7 you can get a reference to the current Java class from a top level function using
MethodHandles.lookup().lookupClass()