1 /******************************************************************************* 2 * Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors 3 * This program and the accompanying materials are made available under 4 * the terms of the Eclipse Public License 2.0 which is available at 5 * http://www.eclipse.org/legal/epl-2.0 6 * 7 * SPDX-License-Identifier: EPL-2.0 8 * 9 * Contributors: 10 * Marc R. Hoffmann - initial API and implementation 11 * 12 *******************************************************************************/ 13 package org.jacoco.core.internal.flow; 14 15 /** 16 * Internal interface to create probe ids unique within a class. 17 */ 18 public interface IProbeIdGenerator { 19 20 /** 21 * Returns the next unique probe id. 22 * 23 * @return unique probe id 24 */ nextId()25 int nextId(); 26 27 } 28