clazzUsingType, qualifiedProtoTypicalTypeName
MAX_RECURSIVE_LEVEL, NO_DETAILS_LEVEL
Constructor and Description |
---|
PrimitiveType(BasicClazz clazzUsingType,
String qualifiedProtoTypicalTypeName) |
Modifier and Type | Method and Description |
---|---|
Type |
copy(BasicClazz clazzUsingType) |
TypeCategory |
getTypeCategory()
Returns this overall category (kind) of type this type is.
|
boolean |
isInImportScope()
Checks if the type is in scope of the class being generated taking imports and default packages etc.
|
boolean |
isPrimitive() |
boolean |
isPrimitiveBoolean() |
boolean |
isPrimitiveByte() |
boolean |
isPrimitiveChar() |
boolean |
isPrimitiveDouble() |
boolean |
isPrimitiveFloat() |
boolean |
isPrimitiveInt() |
boolean |
isPrimitiveLong() |
boolean |
isPrimitiveShort() |
boolean |
isVoid() |
void |
print(IndentedPrintWriter writer,
int detailLevel)
Helper method for printing out the model nicely without getting into problems with its circular references.
|
canBeMoreDetailed, equals, getClazz, getConfiguration, getDetailLevel, getName, getPackageName, getPrototypicalName, getPrototypicalQualifiedName, getQualifiedName, getSimpleName, getWrapperName, hashCode, hasInstanceMember, hasInstanceMethod, hasStaticMember, hasStaticMethod, isArray, isCollection, isExactQualifiedType, isExactType, isExactType, isMultiDimensionalArray, isObject, isOfQualifiedType, isOfType, isOfType, isRootObject, isThisSuperType, isThisType
printExtraBottom, printExtraTop, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGeneratedClazz, getVariablesPrefix, isInDefaultPackage
public PrimitiveType(BasicClazz clazzUsingType, String qualifiedProtoTypicalTypeName)
public Type copy(BasicClazz clazzUsingType)
public boolean isPrimitive()
isPrimitive
in class Type
public boolean isPrimitiveByte()
isPrimitiveByte
in class Type
public boolean isPrimitiveChar()
isPrimitiveChar
in class Type
public boolean isPrimitiveBoolean()
isPrimitiveBoolean
in class Type
public boolean isPrimitiveShort()
isPrimitiveShort
in class Type
public boolean isPrimitiveInt()
isPrimitiveInt
in class Type
public boolean isPrimitiveLong()
isPrimitiveLong
in class Type
public boolean isPrimitiveFloat()
isPrimitiveFloat
in class Type
public boolean isPrimitiveDouble()
isPrimitiveDouble
in class Type
public TypeCategory getTypeCategory()
Type
getTypeCategory
in class Type
public boolean isInImportScope()
Type
isInImportScope
in class Type
public void print(IndentedPrintWriter writer, int detailLevel)
Model
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.