org.jboss.reflect.plugins.bytecode.bytes.asm
Class AsmClassBytesFactory
java.lang.Object
org.jboss.reflect.plugins.bytecode.bytes.asm.AsmClassBytesFactory
- All Implemented Interfaces:
- ClassBytesFactory
public class AsmClassBytesFactory
- extends Object
- implements ClassBytesFactory
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final AsmClassBytesFactory INSTANCE
loadPrimitive
public ClassBytes loadPrimitive(String name)
- Description copied from interface:
ClassBytesFactory
- If the name resolves to a primitive or a primitive array
get the classbytes
- Specified by:
loadPrimitive
in interface ClassBytesFactory
loadClassBytes
public ClassBytes loadClassBytes(ClassLoader initiating,
String name)
- Description copied from interface:
ClassBytesFactory
- Tries to load the class bytes
- Specified by:
loadClassBytes
in interface ClassBytesFactory
name
- the name of the class. This must be in the format 'package/ClassName'
- Returns:
- the class bytes, or null if no class could be found
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.