Type receiverType = typeFrame.getInstance(invokeInstruction, cpg);
int instanceSlot = typeFrame.getInstanceSlot(invokeInstruction, cpg); Type receiverType = typeFrame.getValue(instanceSlot);
	public static Set<XMethod> resolveMethodCallTargets(			InvokeInstruction invokeInstruction,			TypeFrame typeFrame,			ConstantPoolGen cpg) throws DataflowAnalysisException, ClassNotFoundException {				if (invokeInstruction.getOpcode() == Constants.INVOKESTATIC) {			HashSet<XMethod> result = new HashSet<XMethod>();			result.add(new StaticMethod(					invokeInstruction.getClassName(cpg),					invokeInstruction.getName(cpg),					invokeInstruction.getSignature(cpg),					Constants.ACC_STATIC | Constants.ACC_PUBLIC					));			return result;		}				if (!typeFrame.isValid()) {			return new HashSet<XMethod>();		}		Type receiverType = typeFrame.getInstance(invokeInstruction, cpg);		if (!(receiverType instanceof ReferenceType)) {			return new HashSet<XMethod>();		}		// XXX: check whether or not type is exact		return resolveMethodCallTargets((ReferenceType) receiverType, invokeInstruction, cpg, false);	}