Class BytecoderLoader
java.lang.Object
de.mirkosertic.bytecoder.core.loader.BytecoderLoader
- All Implemented Interfaces:
Loader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String resourceName) getResources
(String resourceName) private org.objectweb.asm.tree.ClassNode
internalLoad
(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)
-
Field Details
-
classLoader
-
-
Constructor Details
-
BytecoderLoader
-
-
Method Details
-
getResources
- Specified by:
getResources
in interfaceLoader
- Throws:
IOException
-
getResource
- Specified by:
getResource
in interfaceLoader
-
loadClassFor
public org.objectweb.asm.tree.ClassNode loadClassFor(org.objectweb.asm.Type type) throws IOException, ClassNotFoundException - Specified by:
loadClassFor
in interfaceLoader
- Throws:
IOException
ClassNotFoundException
-
internalLoad
private org.objectweb.asm.tree.ClassNode internalLoad(String className) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-
patchWith
private void patchWith(org.objectweb.asm.tree.ClassNode original, org.objectweb.asm.tree.ClassNode patch)
-