Fix some null warnings
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.tmf.ctf.core / src / org / eclipse / tracecompass / tmf / ctf / core / event / CtfTmfEventType.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 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: Matthew Khouzam - Initial API and implementation
10 *******************************************************************************/
11
12 package org.eclipse.tracecompass.tmf.ctf.core.event;
13
14 import org.eclipse.jdt.annotation.NonNull;
15 import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
16 import org.eclipse.tracecompass.tmf.core.event.TmfEventType;
17
18 /**
19 * The CTF extension of the TMF event type
20 *
21 * @author Matthew khouzam
22 */
23 public class CtfTmfEventType extends TmfEventType {
24
25 /**
26 * Constructor for CtfTmfEventType.
27 *
28 * @param eventName
29 * The event name
30 * @param content
31 * The event field
32 */
33 public CtfTmfEventType(@NonNull String eventName, ITmfEventField content) {
34 super(eventName, content);
35 }
36
37 /**
38 * Method toString.
39 *
40 * @return String
41 */
42 @Override
43 public String toString() {
44 return getName();
45 }
46 }
This page took 0.031458 seconds and 5 git commands to generate.