Class InterfaceExtension


  • public class InterfaceExtension
    extends Object
    • Constructor Detail

      • InterfaceExtension

        public InterfaceExtension()
    • Method Detail

      • getAllSuperClassifiers

        public static EList<ConcreteClassifier> getAllSuperClassifiers​(Interface me)
        Returns all interfaces extended by this interface. The type of the objects in the returned list is ConcreteClassifier, because java.lang.Object is also extended although it is a Class.
        Parameters:
        me - this interface.
        Returns:
        all interfaces.
      • getAbstractMethodOfFunctionalInterface

        public static Method getAbstractMethodOfFunctionalInterface​(Interface me)
        Finds the method of a functional interface.
        Parameters:
        me - the functional interface.
        Returns:
        the method.