• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.analysis;
14 
15 /**
16  * Coverage data of a single method. The name of this node is the local method
17  * name.
18  */
19 public interface IMethodCoverage extends ISourceNode {
20 
21 	/**
22 	 * Returns the descriptor of the method.
23 	 *
24 	 * @return descriptor
25 	 */
getDesc()26 	String getDesc();
27 
28 	/**
29 	 * Returns the generic signature of the method if defined.
30 	 *
31 	 * @return generic signature or <code>null</code>
32 	 */
getSignature()33 	String getSignature();
34 
35 }
36