Package org.jboss.jdeparser
Class PrimitiveJType
java.lang.Object
org.jboss.jdeparser.AbstractJType
org.jboss.jdeparser.PrimitiveJType
- All Implemented Interfaces:
JType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ReferenceJType
private StaticRefJExpr
private final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_class()
An expression of the formThisType.class
.box()
The primitive-boxed version of this type.(package private) boolean
equals
(AbstractJType other) int
hashCode()
Get the simple name of this type.toString()
(package private) void
writeDirect
(SourceFileWriter sourceFileWriter) Methods inherited from class org.jboss.jdeparser.AbstractJType
_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
-
Field Details
-
simpleName
-
boxed
-
classExpr
-
-
Constructor Details
-
PrimitiveJType
-
-
Method Details
-
box
Description copied from interface:JType
The primitive-boxed version of this type.- Specified by:
box
in interfaceJType
- Overrides:
box
in classAbstractJType
- Returns:
- the boxed version of this type
-
writeDirect
- Specified by:
writeDirect
in classAbstractJType
- Throws:
IOException
-
_class
Description copied from interface:JType
An expression of the formThisType.class
.- Specified by:
_class
in interfaceJType
- Overrides:
_class
in classAbstractJType
- Returns:
- the expression
-
equals
- Specified by:
equals
in classAbstractJType
-
hashCode
public int hashCode()- Specified by:
hashCode
in classAbstractJType
-
simpleName
Description copied from interface:JType
Get the simple name of this type.- Specified by:
simpleName
in interfaceJType
- Specified by:
simpleName
in classAbstractJType
- Returns:
- the type's simple name
-
toString
- Specified by:
toString
in classAbstractJType
-