Class PrimitiveJType
java.lang.Object
org.jboss.jdeparser.AbstractJType
org.jboss.jdeparser.PrimitiveJType
- All Implemented Interfaces:
JType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ReferenceJTypeprivate StaticRefJExprprivate 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) booleanequals(AbstractJType other) inthashCode()Get the simple name of this type.toString()(package private) voidwriteDirect(SourceFileWriter sourceFileWriter) Methods inherited from class 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
-
writeDirect
- Specified by:
writeDirectin classAbstractJType- Throws:
IOException
-
_class
-
equals
- Specified by:
equalsin classAbstractJType
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractJType
-
simpleName
Description copied from interface:JTypeGet the simple name of this type.- Specified by:
simpleNamein interfaceJType- Specified by:
simpleNamein classAbstractJType- Returns:
- the type's simple name
-
toString
- Specified by:
toStringin classAbstractJType
-