public class AsmClassBytesFactory extends Object implements ClassBytesFactory
| Modifier and Type | Field and Description |
|---|---|
static AsmClassBytesFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ClassBytes |
loadClassBytes(ClassLoader initiating,
String name)
Tries to load the class bytes
|
ClassBytes |
loadPrimitive(String name)
If the name resolves to a primitive or a primitive array
get the classbytes
|
public static final AsmClassBytesFactory INSTANCE
public ClassBytes loadPrimitive(String name)
ClassBytesFactoryloadPrimitive in interface ClassBytesFactorypublic ClassBytes loadClassBytes(ClassLoader initiating, String name)
ClassBytesFactoryloadClassBytes in interface ClassBytesFactoryname - the name of the class. This must be in the format 'package/ClassName'Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.