Class InterfaceExtension

java.lang.Object
org.emftext.language.java.extensions.classifiers.InterfaceExtension

public class InterfaceExtension extends Object
  • Constructor Details

    • InterfaceExtension

      public InterfaceExtension()
  • Method Details

    • 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.