1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.ctf
.core
.event
.types
;
14 import java
.util
.List
;
16 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
17 import org
.eclipse
.jdt
.annotation
.Nullable
;
18 import org
.eclipse
.linuxtools
.ctf
.core
.event
.scope
.IDefinitionScope
;
21 * Array definition, used for compound definitions and fixed length strings
23 * @author Matthew Khouzam
27 public abstract class AbstractArrayDefinition
extends Definition
{
33 * the event declaration
35 * @param definitionScope
36 * the definition is in a scope, (normally a struct) what is it?
38 * the name of the definition. (it is a field in the parent
41 public AbstractArrayDefinition(IDeclaration declaration
, @Nullable IDefinitionScope definitionScope
, String fieldName
) {
42 super(declaration
, definitionScope
, fieldName
);
46 * Get the defintions, an array is a collection of definitions
48 * @return the definitions
50 public abstract List
<Definition
> getDefinitions();