public final class JMapType extends JComponentizedType
Constructor and Description |
---|
JMapType(String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
JMapType(String typeName,
String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceName()
Returns the instance name of this map type.
|
String |
toString()
Returns the String representation of this JType, which is
simply the name of this type.
|
getComponentType, isUseJava50
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
public JMapType(String typeName, JType componentType, boolean useJava50)
typeName
- Name of the map type interface.componentType
- Component type.useJava50
- True if Java 5.0 should be used.public JMapType(String typeName, String instanceName, JType componentType, boolean useJava50)
typeName
- Name of the map type interface.instanceName
- Name of the actual map type instance.componentType
- Component type.useJava50
- True if Java 5.0 should be used.public String getInstanceName()
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.