Class BytecoderLoader
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.loader.BytecoderLoader
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassLoader
classLoader
-
Constructor Summary
Constructors Constructor Description BytecoderLoader(java.lang.ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getResource(java.lang.String resourceName)
java.util.Enumeration<java.net.URL>
getResources(java.lang.String resourceName)
private org.objectweb.asm.tree.ClassNode
internalLoad(java.lang.String className)
org.objectweb.asm.tree.ClassNode
loadClassFor(org.objectweb.asm.Type type)
private void
patchWith(org.objectweb.asm.tree.ClassNode original, org.objectweb.asm.tree.ClassNode patch)
-
-
-
Method Detail
-
getResources
public java.util.Enumeration<java.net.URL> getResources(java.lang.String resourceName) throws java.io.IOException
- Specified by:
getResources
in interfaceLoader
- Throws:
java.io.IOException
-
getResource
public java.net.URL getResource(java.lang.String resourceName)
- Specified by:
getResource
in interfaceLoader
-
loadClassFor
public org.objectweb.asm.tree.ClassNode loadClassFor(org.objectweb.asm.Type type) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
loadClassFor
in interfaceLoader
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
internalLoad
private org.objectweb.asm.tree.ClassNode internalLoad(java.lang.String className) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
patchWith
private void patchWith(org.objectweb.asm.tree.ClassNode original, org.objectweb.asm.tree.ClassNode patch)
-
-