tmf: remove deprecated methods from tmf
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / lookup / ITmfCallsite.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.core.event.lookup;
14
15 import org.eclipse.jdt.annotation.NonNull;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19 * The generic call site structure in TMF. A call site has:
20 * <ul>
21 * <li> a file name
22 * <li> a function name (optional)
23 * <li> a line number
24 * </ul>
25 *
26 * @author Bernd Hufmann
27 *
28 * @see TmfCallsite
29 */
30 public interface ITmfCallsite {
31
32 /**
33 * Returns the file name of the call site.
34 *
35 * @return the file name
36 */
37 @NonNull String getFileName();
38
39 /**
40 * Returns the line number of the call site.
41 *
42 * @return The line number, or 'null' if unavailable
43 * @since 2.1
44 */
45 @Nullable Long getLineNo();
46 }
This page took 0.034105 seconds and 6 git commands to generate.