public static XMethod createXMethod(JavaClass javaClass, Method method) { String className = javaClass.getClassName();
public static XMethod createXMethod(String className, Method method) { XFactory xFactory = AnalysisContext.currentXFactory();
	public static XMethod createXMethod(JavaClass javaClass, Method method) {		String className = javaClass.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);	}