Apache CXF API

org.apache.cxf.common.util
Class ASMHelper

java.lang.Object
  extended by org.apache.cxf.common.util.ASMHelper
Direct Known Subclasses:
WrapperClassGenerator

public class ASMHelper
extends Object


Nested Class Summary
static class ASMHelper.TypeHelperClassLoader
           
 
Field Summary
protected static Map<Class<?>,WeakReference<ASMHelper.TypeHelperClassLoader>> LOADER_MAP
           
protected static Map<Class<?>,String> NONPRIMITIVE_MAP
           
protected static boolean oldASM
           
protected static Map<Class<?>,String> PRIMITIVE_MAP
           
 
Constructor Summary
ASMHelper()
           
 
Method Summary
 org.objectweb.asm.ClassWriter createClassWriter()
           
 Class<?> findClass(String className, Class clz)
           
static String getClassCode(Class<?> cl)
           
static String getClassCode(Type type)
           
protected static String getMethodSignature(Method m)
           
 Class<?> loadClass(String className, Class clz, byte[] bytes)
           
protected static String periodToSlashes(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIMITIVE_MAP

protected static final Map<Class<?>,String> PRIMITIVE_MAP

NONPRIMITIVE_MAP

protected static final Map<Class<?>,String> NONPRIMITIVE_MAP

LOADER_MAP

protected static final Map<Class<?>,WeakReference<ASMHelper.TypeHelperClassLoader>> LOADER_MAP

oldASM

protected static boolean oldASM
Constructor Detail

ASMHelper

public ASMHelper()
Method Detail

getMethodSignature

protected static String getMethodSignature(Method m)

periodToSlashes

protected static String periodToSlashes(String s)

getClassCode

public static String getClassCode(Class<?> cl)

getClassCode

public static String getClassCode(Type type)

createClassWriter

public org.objectweb.asm.ClassWriter createClassWriter()

loadClass

public Class<?> loadClass(String className,
                          Class clz,
                          byte[] bytes)

findClass

public Class<?> findClass(String className,
                          Class clz)

Apache CXF API

Apache CXF