Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Field and Description |
---|---|
JPrimitiveType |
JCodeModel.BOOLEAN |
JPrimitiveType |
JCodeModel.BYTE |
JPrimitiveType |
JCodeModel.CHAR |
JPrimitiveType |
JCodeModel.DOUBLE |
JPrimitiveType |
JCodeModel.FLOAT |
JPrimitiveType |
JCodeModel.INT |
JPrimitiveType |
JCodeModel.LONG |
JPrimitiveType |
JCodeModel.SHORT |
JPrimitiveType |
JCodeModel.VOID |
Modifier and Type | Method and Description |
---|---|
JPrimitiveType |
JClass.getPrimitiveType()
If this class represents one of the wrapper classes
defined in the java.lang package, return the corresponding
primitive type.
|
static JPrimitiveType |
JType.parse(JCodeModel codeModel,
String typeName)
Obtains a reference to the primitive type object from a type name.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.