Package org.apache.cxf.common.util
Class ASMHelperImpl
- java.lang.Object
-
- org.apache.cxf.common.util.ASMHelperImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cxf.common.util.ASMHelper
ASMHelper.AnnotationVisitor, ASMHelper.ASMType, ASMHelper.ClassWriter, ASMHelper.FieldVisitor, ASMHelper.Label, ASMHelper.MethodVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanbadASMprotected static Map<Class<?>,String>NONPRIMITIVE_MAPprotected static Map<Class<?>,String>PRIMITIVE_MAPprotected static Map<Class<?>,Integer>PRIMITIVE_ZERO_MAP
-
Constructor Summary
Constructors Constructor Description ASMHelperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASMHelper.ClassWritercreateClassWriter()ASMHelper.LabelcreateLabel()Class<?>getASMClass()StringgetClassCode(Class<?> cl)StringgetClassCode(Type type)StringgetMethodSignature(Method m)StringgetNonPrimitive(Class<?> tp)OpcodesProxygetOpCodes()StringgetPrimitive(Class<?> tp)ASMHelper.ASMTypegetType(String type)voidsetBadASM(boolean b)
-
-
-
Method Detail
-
getASMClass
public Class<?> getASMClass() throws ClassNotFoundException
- Specified by:
getASMClassin interfaceASMHelper- Throws:
ClassNotFoundException
-
getOpCodes
public OpcodesProxy getOpCodes()
- Specified by:
getOpCodesin interfaceASMHelper
-
setBadASM
public void setBadASM(boolean b)
-
getMethodSignature
public String getMethodSignature(Method m)
- Specified by:
getMethodSignaturein interfaceASMHelper
-
getNonPrimitive
public String getNonPrimitive(Class<?> tp)
- Specified by:
getNonPrimitivein interfaceASMHelper
-
getPrimitive
public String getPrimitive(Class<?> tp)
- Specified by:
getPrimitivein interfaceASMHelper
-
getClassCode
public String getClassCode(Class<?> cl)
- Specified by:
getClassCodein interfaceASMHelper
-
getClassCode
public String getClassCode(Type type)
- Specified by:
getClassCodein interfaceASMHelper
-
createClassWriter
public ASMHelper.ClassWriter createClassWriter()
- Specified by:
createClassWriterin interfaceASMHelper
-
getType
public ASMHelper.ASMType getType(String type)
-
createLabel
public ASMHelper.Label createLabel()
- Specified by:
createLabelin interfaceASMHelper
-
-