blob: aef3580c8116030cd0b8b5d5729048b2cb963521 [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 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
*******************************************************************************/
/*
* $RCSfile: IArrayBeanTypeProxy.java,v $
* $Revision: 1.2 $ $Date: 2005/02/15 22:53:46 $
*/
/**
* 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();
}