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
CommitLineData
f47ed727 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2013, 2014 Ericsson
f47ed727
BH
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
2bdf0193 13package org.eclipse.tracecompass.tmf.core.event.lookup;
f47ed727 14
8936d4f2 15import org.eclipse.jdt.annotation.NonNull;
3335f36e 16import org.eclipse.jdt.annotation.Nullable;
f47ed727
BH
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
f47ed727
BH
27 *
28 * @see TmfCallsite
29 */
30public interface ITmfCallsite {
04ca66e5 31
f47ed727
BH
32 /**
33 * Returns the file name of the call site.
04ca66e5 34 *
f47ed727
BH
35 * @return the file name
36 */
8936d4f2 37 @NonNull String getFileName();
f47ed727 38
0c65e461
AM
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 */
4b40a764 45 @Nullable Long getLineNo();
f47ed727 46}
This page took 0.088668 seconds and 5 git commands to generate.