Class TypeExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.types.TypeExtension
-
public class TypeExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description TypeExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equalsType(Type me, long arrayDimension, Type otherType, long otherArrayDimension)
static EList<Member>
getAllMembers(Type me)
static boolean
isSuperType(Type me, long arrayDimension, Type otherType, ArrayTypeable otherArrayType)
-
-
-
Method Detail
-
equalsType
public static boolean equalsType(Type me, long arrayDimension, Type otherType, long otherArrayDimension)
- Parameters:
arrayDimension
-otherType
-otherArrayDimension
-- Returns:
- if both type are equal
-
isSuperType
public static boolean isSuperType(Type me, 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
-
-