IProbeIdGenerator.java revision 3872980c094a6ccdeee5db603512e76e90b65db7
1/******************************************************************************* 2 * Copyright (c) 2009, 2010 Mountainminds GmbH & Co. KG and Contributors 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * Marc R. Hoffmann - initial API and implementation 10 * 11 *******************************************************************************/ 12package org.jacoco.core.internal.flow; 13 14/** 15 * Internal interface to create probe ids unique within a class. 16 * 17 * @author Marc R. Hoffmann 18 * @version $qualified.bundle.version$ 19 */ 20public interface IProbeIdGenerator { 21 22 /** 23 * Returns the next unique probe id. 24 * 25 * @return unique probe id 26 */ 27 int nextId(); 28 29} 30