1 /*******************************************************************************
2 * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.lttng2
.ust
.core
.analysis
.debuginfo
;
12 import org
.eclipse
.jdt
.annotation
.Nullable
;
13 import org
.eclipse
.tracecompass
.tmf
.core
.event
.lookup
.TmfCallsite
;
16 * Extension of {@link TmfCallsite} specifically for the debug-info analysis,
17 * which will not print the function name in the event table. This name will be
18 * available by a separate aspect.
20 * @author Alexandre Montplaisir
22 * @deprecated No need for this anymore, use {@link TmfCallsite} directly.
25 public class SourceCallsite
extends TmfCallsite
{
37 public SourceCallsite(String fileName
, @Nullable String functionName
, long lineNumber
) {
38 super(fileName
, lineNumber
);
42 public String
toString() {
43 StringBuilder builder
= new StringBuilder();
44 builder
.append(getFileName()).append(':');
45 builder
.append(Long
.toString(getLineNumber()));
46 return builder
.toString();
This page took 0.033682 seconds and 6 git commands to generate.