java.lang.Object
org.eclipse.edc.plugins.autodoc.core.processor.introspection.ExtensionIntrospector

public class ExtensionIntrospector extends Object
Contains methods for introspecting any given extension (represented by an Element) using the Java Compiler API.
  • Field Details

  • Constructor Details

    • ExtensionIntrospector

      public ExtensionIntrospector(Elements elementUtils)
  • Method Details

    • getExtensionCategories

      public List<String> getExtensionCategories(Element extensionElement)
      Returns module categories set using either the Spi or Extension annotation.
    • resolveReferencedServices

      public List<org.eclipse.edc.runtime.metamodel.domain.ServiceReference> resolveReferencedServices(Element extensionElement)
      Resolves referenced services by introspecting usages of Inject.
    • resolveProvidedServices

      public List<org.eclipse.edc.runtime.metamodel.domain.Service> resolveProvidedServices(Element element)
      Resolves referenced services by introspecting the Provides annotation.
    • resolveConfigurationSettings

      public List<org.eclipse.edc.runtime.metamodel.domain.ConfigurationSetting> resolveConfigurationSettings(Element element)
      Resolves configuration points declared with Setting.
    • getExtensionName

      public String getExtensionName(Element extensionElement)
    • getExtensionClassname

      public String getExtensionClassname(Element element)