41
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
* Format to parameter type mapping
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
package com.nokia.tracecompiler.source;
|
|
20 |
|
|
21 |
/**
|
|
22 |
* Type returned by {@link SourceUtils#mapFormatToParameterType(String)}
|
|
23 |
*
|
|
24 |
*/
|
|
25 |
public final class FormatMapping {
|
|
26 |
|
|
27 |
/**
|
|
28 |
* The type
|
|
29 |
*/
|
|
30 |
public String type;
|
|
31 |
|
|
32 |
/**
|
|
33 |
* Array type flag
|
|
34 |
*/
|
|
35 |
public boolean isArray;
|
|
36 |
|
|
37 |
/**
|
|
38 |
* Simple 32-bit type flag
|
|
39 |
*/
|
|
40 |
public boolean isSimple;
|
|
41 |
|
|
42 |
/**
|
|
43 |
* Constructor
|
|
44 |
*
|
|
45 |
* @param type
|
|
46 |
* the type
|
|
47 |
*/
|
|
48 |
public FormatMapping(String type) {
|
|
49 |
this.type = type;
|
|
50 |
}
|
|
51 |
|
|
52 |
}
|