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.
|
(package private) boolean |
equals(AbstractJType other) |
int |
hashCode() |
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, equals, erasure, field, methodRef, methodRef, nestedType, of, qualifiedName, typeArg, typeArg, typeArg, typeArgs, unbox, wildcardExtends, wildcardSuper
private final java.lang.String simpleName
private final ReferenceJType boxed
private StaticRefJExpr classExpr
PrimitiveJType(java.lang.String simpleName, java.lang.String boxed)
public JType box()
JType
box
in interface JType
box
in class AbstractJType
void writeDirect(SourceFileWriter sourceFileWriter) throws java.io.IOException
writeDirect
in class AbstractJType
java.io.IOException
public JExpr _class()
JType
ThisType.class
._class
in interface JType
_class
in class AbstractJType
boolean equals(AbstractJType other)
equals
in class AbstractJType
public int hashCode()
hashCode
in class AbstractJType
public java.lang.String simpleName()
JType
simpleName
in interface JType
simpleName
in class AbstractJType
public java.lang.String toString()
toString
in class AbstractJType