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