public final class JPrimitiveType extends JType
| Modifier | Constructor and Description |
|---|---|
protected |
JPrimitiveType(String name,
String wrapperName)
Creates a new JPrimitiveType for a primitive with the given name and wrapper name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getWrapperName()
Return the name of the wrapper object for a primitive type, null for non-primitive types.
|
String |
toString()
Returns the String representation of this JType. |
getLocalName, getName, isArray, isPrimitive, setNameprotected JPrimitiveType(String name, String wrapperName)
name - The name of the type.wrapperName - The name of the wrapper Object type for this primitive type.public String getWrapperName()
Copyright © 2016. All rights reserved.