Class ClassExtension


  • public class ClassExtension
    extends Object
    • Constructor Detail

      • ClassExtension

        public ClassExtension()
    • Method Detail

      • getAllSuperClassifiers

        public static EList<ConcreteClassifier> getAllSuperClassifiers​(Class me)
        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

        public static Class getSuperClass​(Class me)
        Parameters:
        me - the given class.
        Returns:
        the direct super class
      • unWrapPrimitiveType

        public static PrimitiveType unWrapPrimitiveType​(Class me)
        Parameters:
        me - the given class.
        Returns:
        primitive type, if the class can be wrapped