btf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / types / IDefinition.java
1 /*******************************************************************************
2 * Copyright (c) 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:
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.ctf.core.event.types;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.linuxtools.ctf.core.event.scope.LexicalScope;
17
18 /**
19 * Interface for data definitions. A definition is when a value is given to a
20 * declaration
21 *
22 * @author Matthew Khouzam
23 * @since 3.1
24 */
25 @NonNullByDefault
26 public interface IDefinition {
27
28 /**
29 * Get the complete path of this field.
30 *
31 * @return The path
32 */
33 LexicalScope getScopePath();
34
35 /**
36 * Get the declaration of this definition
37 *
38 * @return the declaration of a datatype
39 */
40 IDeclaration getDeclaration();
41
42 }
This page took 0.055944 seconds and 5 git commands to generate.