public static XMethod createXMethod(@DottedClassName String className, String methodName, String methodSig, boolean isStatic) {
        assertDottedClassName(className);
        MethodDescriptor desc = DescriptorFactory.instance().getMethodDescriptor(ClassName.toSlashedClassName(className),
                methodName, methodSig, isStatic);
        return createXMethod(desc);
    }
public static XMethod createXMethod ( @ DottedClassName String className , String methodName , String methodSig , boolean isStatic ) { assertDottedClassName ( className ) ; MethodDescriptor desc = DescriptorFactory . instance ( ) . getMethodDescriptor ( ClassName . toSlashedClassName ( className ) , methodName , methodSig , isStatic ) ; return createXMethod ( desc ) ; }
@param className
@param methodName
@param methodSig
@param isStatic
@return the created XMethod