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