blob: aceff093e46b1e5e4295327d54e3ffd377ec1b5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2001, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jem.internal.proxy.core;
/*
*/
/**
* A Proxy for an array type.
*/
public interface IArrayBeanTypeProxy extends IBeanTypeProxy {
/**
* getComponentType: Get the component type of this array.
* e.g. (new Object[3]).getClass().getComponentType() will
* return "java.lang.Object".
* and (new Object[3][2][1]).getClass().getComponentType() will
* return "Object[][]";
*/
public IBeanTypeProxy getComponentType();
/**
* Return the final type, i.e. the final non-array type.
* i.e. int[][] will return int.
*/
public IBeanTypeProxy getFinalComponentType();
/**
* Return the number of dimensions for this type.
* i.e. int [][] will return 2.
*/
public int getDimensions();
}
|