class PrimitiveJType extends AbstractJType
| Modifier and Type | Field and Description |
|---|---|
private ReferenceJType |
boxed |
private StaticRefJExpr |
classExpr |
private java.lang.String |
simpleName |
| Constructor and Description |
|---|
PrimitiveJType(java.lang.String simpleName,
java.lang.String boxed) |
| Modifier and Type | Method and Description |
|---|---|
JExpr |
_class()
An expression of the form
ThisType.class. |
JType |
box()
The primitive-boxed version of this type.
|
java.lang.String |
simpleName()
Get the simple name of this type.
|
java.lang.String |
toString() |
(package private) void |
writeDirect(SourceFileWriter sourceFileWriter) |
_new, _new, _new, _newAnon, _newArray, _super, _this, $t, $v, array, call, call, elementType, erasure, field, methodRef, methodRef, nestedType, of, qualifiedName, typeArg, typeArg, typeArg, typeArgs, unbox, wildcardExtends, wildcardSuperprivate final java.lang.String simpleName
private final ReferenceJType boxed
private StaticRefJExpr classExpr
PrimitiveJType(java.lang.String simpleName,
java.lang.String boxed)
public JType box()
JTypebox in interface JTypebox in class AbstractJTypevoid writeDirect(SourceFileWriter sourceFileWriter) throws java.io.IOException
writeDirect in class AbstractJTypejava.io.IOExceptionpublic JExpr _class()
JTypeThisType.class._class in interface JType_class in class AbstractJTypepublic java.lang.String simpleName()
JTypesimpleName in interface JTypesimpleName in class AbstractJTypepublic java.lang.String toString()
toString in class AbstractJType