Package de.monticore.types.check
Class SymTypeOfNull
java.lang.Object
de.monticore.types.check.SymTypeExpression
de.monticore.types.check.SymTypeOfNull
- All Implemented Interfaces:
Comparable<SymTypeExpression>
-
Field Summary
Fields inherited from class de.monticore.types.check.SymTypeExpression
functionList, LOG_NAME, sourceInfo, typeSymbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ISymTypeVisitor visitor) booleanbooleanAm I of null type?Methods inherited from class de.monticore.types.check.SymTypeExpression
_internal_setSourceInfo, asArrayType, asFunctionType, asGenericType, asInferenceVariable, asIntersectionType, asNumericWithSIUnitType, asObjectType, asObscureType, asPrimitive, asRegExType, asSIUnitType, asTupleType, asTypeVariable, asUnionType, asVoidType, asWildcard, compareTo, deepClone, getCorrectFields, getCorrectFields, getCorrectMethods, getCorrectMethods, getFieldList, getFieldList, getFieldList, getFieldList, getMethodList, getMethodList, getMethodList, getMethodList, getSourceInfo, getTypeInfo, hasTypeInfo, isArrayType, isFunctionType, isGenericType, isInferenceVariable, isIntersectionType, isNumericWithSIUnitType, isObjectType, isObscureType, isPrimitive, isRegExType, isSIUnitType, isTupleType, isTypeVariable, isUnionType, isValidType, isVoidType, isWildcard, print, printAsJson, printFullName, replaceTypeVariables, transformFieldList, transformMethodList
-
Constructor Details
-
SymTypeOfNull
Deprecated.contains no non-deprecated program logicThis Class represents the type of the value "null". This type doesn't really exist (hence the print method delivers "nullType", i.e. _nullTypeString), but the object is used to attach "null" a proper type, which is then compatible to e.g. to TypeConstant or TypeArray, int[] j = null; ok Integer i2 = null; ok but not e.g. to int int i = null; illegal
-
-
Method Details
-
isNullType
public boolean isNullType()Description copied from class:SymTypeExpressionAm I of null type?- Overrides:
isNullTypein classSymTypeExpression
-
asNullType
- Overrides:
asNullTypein classSymTypeExpression
-
deepEquals
- Specified by:
deepEqualsin classSymTypeExpression
-
accept
- Overrides:
acceptin classSymTypeExpression
-