public class JComponentizedType extends JType
Modifier and Type | Field and Description |
---|---|
private JType |
_componentType
Indicates the data type contained in this collection.
|
private boolean |
_useJava50
Indicates whether Java 5.0 compliant code is required.
|
Modifier | Constructor and Description |
---|---|
protected |
JComponentizedType(java.lang.String name,
JType componentType,
boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
|
Modifier and Type | Method and Description |
---|---|
JType |
getComponentType()
Returns the component type.
|
boolean |
isUseJava50()
Indicates whether Java 5.0 is used.
|
changePackage, createArray, getLocalName, getName, isArray, isPrimitive, toString
private JType _componentType
private boolean _useJava50
protected JComponentizedType(java.lang.String name, JType componentType, boolean useJava50)
name
- Type name for this componentized type.componentType
- Component type.useJava50
- True if Java 5.0 should be used.public final JType getComponentType()
getComponentType
in class JType
public final boolean isUseJava50()