View Javadoc

    1   /*
    2    * Copyright (c) 2001-2003 The XDoclet team
    3    * All rights reserved.
    4    */
    5   package xjavadoc;
    6
    7   /***
    8    * Everything that can have a type implements this interface
    9    *
    10   * @author    Aslak Hellesøy
    11   * @created   25. februar 2003
    12   */
    13  public interface Type
    14  {
    15  	/***
    16  	 * Returns the dimension as an int
    17  	 *
    18  	 * @return   dimension as an int
    19  	 */
    20  	int getDimension();
    21
    22  	/***
    23  	 * Returns the dimension as a String, "", "[]", "[][]" etc.
    24  	 *
    25  	 * @return   dimension as a String
    26  	 */
    27  	String getDimensionAsString();
    28
    29  	/***
    30  	 * Get type
    31  	 *
    32  	 * @return   type
    33  	 */
    34  	XClass getType();
    35  }