|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.javasource.JType
org.exolab.javasource.JComponentizedType
org.exolab.javasource.JCollectionType
public final class JCollectionType
JType sub-class for collections.
| Field Summary |
|---|
| Fields inherited from class org.exolab.javasource.JType |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, SHORT |
| Constructor Summary | |
|---|---|
JCollectionType(java.lang.String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'. |
|
JCollectionType(java.lang.String typeName,
JType componentType,
boolean useJava50,
boolean useExtends)
Creates an instance of a collection type, of type 'collectionName'. |
|
JCollectionType(java.lang.String typeName,
java.lang.String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'. |
|
| Method Summary | |
|---|---|
java.lang.String |
getInstanceName()
Returns the instance name of this collection type. |
java.lang.String |
toString()
Returns the String representation of this JType. |
| Methods inherited from class org.exolab.javasource.JComponentizedType |
|---|
getComponentType, isUseJava50 |
| Methods inherited from class org.exolab.javasource.JType |
|---|
getLocalName, getName, isArray, isPrimitive, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JCollectionType(java.lang.String typeName,
JType componentType,
boolean useJava50)
typeName - Name of the collection type interface.componentType - Component type.useJava50 - True if Java 5.0 should be used.
public JCollectionType(java.lang.String typeName,
JType componentType,
boolean useJava50,
boolean useExtends)
typeName - Name of the collection type interface.componentType - Component type.useJava50 - True if Java 5.0 should be used.useExtends - True if '? extends' should be emitted for generics (Java 5.0 ff only).
public JCollectionType(java.lang.String typeName,
java.lang.String instanceName,
JType componentType,
boolean useJava50)
typeName - Name of the collection type interface.instanceName - Name of the actual collection type instance.componentType - Component type.useJava50 - True if Java 5.0 should be used.| Method Detail |
|---|
public java.lang.String getInstanceName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||