Interface ExtensionFactory<E>

    • Method Detail

      • createExtension

        <T extends TraitE createExtension​(T trait)
      • canCreateExtensionFor

        boolean canCreateExtensionFor​(ExtensionPoint<?,​?> point)
        Parameters:
        point -
        Returns:
        true if the given extensio-point API elements are compatible with the returned extension (i.e. the given extension API is assignable form the type of the extension created by this factory and the Trait accepted as aparameter in createExtension(Trait) is assignable from the type of the given trait API).