Location creationPoint = stream.creationPoint; if (handle == creationPoint.getHandle() && basicBlock == creationPoint.getBasicBlock()) {  frame.setValue(frame.getNumSlots() - 1, ResourceValue.instance()); frame.setStatus(ResourceValueFrame.OPEN); } else if (resourceTracker.isResourceClose(basicBlock, handle, cpg, stream)) {  frame.setStatus(ResourceValueFrame.CLOSED);
if (status != -1) { frame.setStatus(status); if (status == ResourceValueFrame.CREATED) frame.setValue(frame.getNumSlots() - 1, ResourceValue.instance());
		public void transferInstruction(InstructionHandle handle, BasicBlock basicBlock) {			final Instruction ins = handle.getInstruction();			final ConstantPoolGen cpg = getCPG();			final ResourceValueFrame frame = getFrame();			// Model use of instance values in frame slots			ins.accept(this);			// Is a resource created or closed by this instruction?			Location creationPoint = stream.creationPoint;			if (handle == creationPoint.getHandle() && basicBlock == creationPoint.getBasicBlock()) {				// Resource creation				frame.setValue(frame.getNumSlots() - 1, ResourceValue.instance());				frame.setStatus(ResourceValueFrame.OPEN);			} else if (resourceTracker.isResourceClose(basicBlock, handle, cpg, stream)) {				// Resource closed				frame.setStatus(ResourceValueFrame.CLOSED);			}		}