1 /******************************************************************************* 2 * Copyright (c) 2009, 2019 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 *******************************************************************************/ 12 package org.jacoco.core.analysis; 13 14 /** 15 * Coverage data of a single method. The name of this node is the local method 16 * name. 17 */ 18 public interface IMethodCoverage extends ISourceNode { 19 20 /** 21 * Returns the descriptor of the method. 22 * 23 * @return descriptor 24 */ getDesc()25 String getDesc(); 26 27 /** 28 * Returns the generic signature of the method if defined. 29 * 30 * @return generic signature or <code>null</code> 31 */ getSignature()32 String getSignature(); 33 34 } 35