Package org.exolab.javasource
Class JComponentizedType
- java.lang.Object
-
- org.exolab.javasource.JType
-
- org.exolab.javasource.JComponentizedType
-
- Direct Known Subclasses:
JArrayType
,JCollectionType
public class JComponentizedType extends JType
JType sub-class for componentized types, such as array as collections.- Since:
- 1.0.4
- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Werner Guttman
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JComponentizedType(java.lang.String name, JType componentType, boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JType
getComponentType()
Returns the component type.boolean
isUseJava50()
Indicates whether Java 5.0 is used.-
Methods inherited from class org.exolab.javasource.JType
getLocalName, getName, isArray, isPrimitive, setName
-
-
-
-
Constructor Detail
-
JComponentizedType
protected JComponentizedType(java.lang.String name, JType componentType, boolean useJava50)
Creates an instance of a componentized type, of type 'name'.- Parameters:
name
- Type name for this componentized type.componentType
- Component type.useJava50
- True if Java 5.0 should be used.
-
-
Method Detail
-
getComponentType
public final JType getComponentType()
Returns the component type.- Returns:
- The component type.
-
isUseJava50
public final boolean isUseJava50()
Indicates whether Java 5.0 is used.- Returns:
- True if Java 5.0 is used.
-
-