public static XMethod createXMethod(ClassContext classContext, Method method) { String className = classContext.getJavaClass().getClassName();
public static XMethod createXMethod(JavaClass javaClass, Method method) { String className = javaClass.getClassName();
	public static XMethod createXMethod(ClassContext classContext, Method method) {		String className = classContext.getJavaClass().getClassName();		String methodName = method.getName();		String methodSig = method.getSignature();		int accessFlags = method.getAccessFlags();		if (method.isStatic())			return new StaticMethod(className, methodName, methodSig, accessFlags);		else			return new InstanceMethod(className, methodName, methodSig, accessFlags);	}