Class TypeExtension
java.lang.Object
tools.mdsd.jamopp.model.java.extensions.types.TypeExtension
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equalsType
(Type type, long arrayDimension, Type otherType, long otherArrayDimension) getAllMembers
(Type type) static boolean
isSuperType
(Type typeParam, long arrayDimension, Type otherType, ArrayTypeable otherArrayType)
-
Method Details
-
equalsType
public static boolean equalsType(Type type, long arrayDimension, Type otherType, long otherArrayDimension) - Parameters:
arrayDimension
-otherType
-otherArrayDimension
-- Returns:
- if both type are equal
-
isSuperType
public static boolean isSuperType(Type typeParam, long arrayDimension, Type otherType, ArrayTypeable otherArrayType) - Parameters:
arrayDimension
-otherType
-otherArrayType
-otherArrayType
-- Returns:
- if the other type is equal to me or a super type of me
-
getAllMembers
- Parameters:
type
- unused
-