public  static XMethod createXMethod(String className, String methodName, String methodSig, boolean isStatic) {
public static XMethod createXMethod(String className, Method method) { XFactory xFactory = AnalysisContext.currentXFactory(); String methodName = method.getName(); String methodSig = method.getSignature(); int accessFlags = method.getAccessFlags(); boolean isStatic = method.isStatic();
	public  static XMethod createXMethod(String className, String methodName, String methodSig, boolean isStatic) {		XMethod m;		if (isStatic)			m = new StaticMethod(className, methodName, methodSig, Constants.ACC_STATIC);		else			m = new InstanceMethod(className, methodName, methodSig, 0);		XFactory xFactory = AnalysisContext.currentXFactory();		m = xFactory.intern(m);		m = xFactory.resolve(m);		return m;	}