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
index e74b7dade315232e5ebd282072c0874b07ea475e..0571395ac22861fb51c96d8045c8ff72261c7133 100644 (file)
@@ -12,6 +12,8 @@
 
 package org.eclipse.tracecompass.tmf.core.event.lookup;
 
+import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * The generic call site structure in TMF. A call site has:
@@ -32,19 +34,13 @@ public interface ITmfCallsite {
      *
      * @return the file name
      */
-    String getFileName();
-
-    /**
-     * Returns the function name of the call site.
-     *
-     * @return the function name or null
-     */
-    String getFunctionName();
+    @NonNull String getFileName();
 
     /**
      * Returns the line number of the call site.
      *
-     * @return the line number
+     * @return The line number, or 'null' if unavailable
+     * @since 2.1
      */
-    long getLineNumber();
+    @Nullable Long getLineNo();
 }
This page took 0.024176 seconds and 5 git commands to generate.