org.exolab.javasource

Class JArrayType


public final class JArrayType
extends JComponentizedType

JType sub-class for Arrays.
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttman
Since:
1.0.4

Field Summary

Fields inherited from class org.exolab.javasource.JType

BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, SHORT

Constructor Summary

JArrayType(JType componentType, boolean useJava50)
Creates an instance of a array type, of type 'name'.

Method Summary

String
toString()
Returns the String representation of this JType, which is simply the name of this type.

Methods inherited from class org.exolab.javasource.JComponentizedType

getComponentType, isUseJava50

Methods inherited from class org.exolab.javasource.JType

getLocalName, getName, isArray, isPrimitive, setName

Constructor Details

JArrayType

public JArrayType(JType componentType,
                  boolean useJava50)
Creates an instance of a array type, of type 'name'.
Parameters:
componentType - Component type.
useJava50 - True if Java 5.0 should be generated.

Method Details

toString

public String toString()
Returns the String representation of this JType, which is simply the name of this type.
Returns:
The String representation of this JType.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com