Instruction ins = handle.getInstruction(); if (!(ins instanceof INVOKEVIRTUAL))
InvokeInstruction inv = toInvokeInstruction(handle.getInstruction()); if (inv == null)
		public Lock isResourceCreation(BasicBlock basicBlock, InstructionHandle handle, ConstantPoolGen cpg) {			Instruction ins = handle.getInstruction();			if (!(ins instanceof INVOKEVIRTUAL))				return null;			INVOKEVIRTUAL inv = (INVOKEVIRTUAL) ins;			String className = inv.getClassName(cpg);			String methodName = inv.getName(cpg);			String methodSig = inv.getSignature(cpg);			try {				if (Repository.instanceOf(className, "java.util.concurrent.Lock") &&					methodName.equals("lock") &&					methodSig.equals("()V")) {					return new Lock(new Location(handle, basicBlock), className);				}			} catch (ClassNotFoundException e) {				lookupFailureCallback.reportMissingClass(e);			}			return null;		}