blob: 40cd6a027058ff69d14270dd6a9c64661860e3a5 [file] [log] [blame]
package org.eclipse.jem.internal.proxy.core;
/*******************************************************************************
* Copyright (c) 2001, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*
* $RCSfile: IArrayBeanTypeProxy.java,v $
* $Revision: 1.1 $ $Date: 2003/10/27 17:22:23 $
*/
/**
* 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();
}