Package de.monticore.types.check
Class TypeCheck
- java.lang.Object
-
- de.monticore.types.check.TypeCheck
-
@Deprecated public class TypeCheck extends java.lang.ObjectDeprecated.Deprecated due to static methods useITypeRelationsinstead, preferably provided byTypeCalculator
-
-
Field Summary
Fields Modifier and Type Field Description protected static TypeRelationstypeRelationsDeprecated.only used to provide deprecated static methods
-
Constructor Summary
Constructors Constructor Description TypeCheck()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static intcalculateInheritanceDistance(SymTypeExpression specific, SymTypeExpression general)Deprecated.static intcalculateInheritanceDistance(SymTypePrimitive specific, SymTypePrimitive general)Deprecated.static booleancompatible(SymTypeExpression left, SymTypeExpression right)Deprecated.static booleanisBoolean(SymTypeExpression type)Deprecated.static booleanisByte(SymTypeExpression type)Deprecated.static booleanisChar(SymTypeExpression type)Deprecated.static booleanisDouble(SymTypeExpression type)Deprecated.static booleanisFloat(SymTypeExpression type)Deprecated.static booleanisInt(SymTypeExpression type)Deprecated.static booleanisLong(SymTypeExpression type)Deprecated.static booleanisShort(SymTypeExpression type)Deprecated.static booleanisString(SymTypeExpression type)Deprecated.static booleanisSubtypeOf(SymTypeExpression subType, SymTypeExpression superType)Deprecated.static booleanisVoid(SymTypeExpression type)Deprecated.
-
-
-
Field Detail
-
typeRelations
protected static TypeRelations typeRelations
Deprecated.only used to provide deprecated static methods
-
-
Method Detail
-
compatible
@Deprecated public static boolean compatible(SymTypeExpression left, SymTypeExpression right)
Deprecated.
-
isSubtypeOf
@Deprecated public static boolean isSubtypeOf(SymTypeExpression subType, SymTypeExpression superType)
Deprecated.
-
calculateInheritanceDistance
@Deprecated protected static int calculateInheritanceDistance(SymTypeExpression specific, SymTypeExpression general)
Deprecated.
-
calculateInheritanceDistance
@Deprecated public static int calculateInheritanceDistance(SymTypePrimitive specific, SymTypePrimitive general)
Deprecated.
-
isBoolean
@Deprecated public static boolean isBoolean(SymTypeExpression type)
Deprecated.
-
isInt
@Deprecated public static boolean isInt(SymTypeExpression type)
Deprecated.
-
isDouble
@Deprecated public static boolean isDouble(SymTypeExpression type)
Deprecated.
-
isFloat
@Deprecated public static boolean isFloat(SymTypeExpression type)
Deprecated.
-
isLong
@Deprecated public static boolean isLong(SymTypeExpression type)
Deprecated.
-
isChar
@Deprecated public static boolean isChar(SymTypeExpression type)
Deprecated.
-
isShort
@Deprecated public static boolean isShort(SymTypeExpression type)
Deprecated.
-
isByte
@Deprecated public static boolean isByte(SymTypeExpression type)
Deprecated.
-
isVoid
@Deprecated public static boolean isVoid(SymTypeExpression type)
Deprecated.
-
isString
@Deprecated public static boolean isString(SymTypeExpression type)
Deprecated.
-
-