Class ClassExtension
java.lang.Object
org.emftext.language.java.extensions.classifiers.ClassExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EList<ConcreteClassifier>
Recursively collects all super types (extended classes and implemented interfaces) of the given class.static Class
getSuperClass
(Class me) static PrimitiveType
-
Constructor Details
-
ClassExtension
public ClassExtension()
-
-
Method Details
-
getAllSuperClassifiers
Recursively collects all super types (extended classes and implemented interfaces) of the given class.- Parameters:
me
- the given class.- Returns:
- the collected super types.
-
getSuperClass
- Parameters:
me
- the given class.- Returns:
- the direct super class
-
unWrapPrimitiveType
- Parameters:
me
- the given class.- Returns:
- primitive type, if the class can be wrapped
-