Class ExtensionIntrospector
java.lang.Object
org.eclipse.edc.plugins.autodoc.core.processor.introspection.ExtensionIntrospector
Contains methods for introspecting any given extension (represented by an
Element) using the Java Compiler API.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExtensionCategories(Element extensionElement) Returns module categories set using either theSpiorExtensionannotation.getExtensionClassname(Element element) getExtensionName(Element extensionElement) List<org.eclipse.edc.runtime.metamodel.domain.ConfigurationSetting>resolveConfigurationSettings(Element element) Resolves configuration points declared withSetting.List<org.eclipse.edc.runtime.metamodel.domain.Service>resolveProvidedServices(Element element) Resolves referenced services by introspecting theProvidesannotation.List<org.eclipse.edc.runtime.metamodel.domain.ServiceReference>resolveReferencedServices(Element extensionElement) Resolves referenced services by introspecting usages ofInject.
-
Field Details
-
CONTEXT_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
ExtensionIntrospector
-
-
Method Details
-
getExtensionCategories
Returns module categories set using either theSpiorExtensionannotation. -
resolveReferencedServices
public List<org.eclipse.edc.runtime.metamodel.domain.ServiceReference> resolveReferencedServices(Element extensionElement) Resolves referenced services by introspecting usages ofInject. -
resolveProvidedServices
public List<org.eclipse.edc.runtime.metamodel.domain.Service> resolveProvidedServices(Element element) Resolves referenced services by introspecting theProvidesannotation. -
resolveConfigurationSettings
public List<org.eclipse.edc.runtime.metamodel.domain.ConfigurationSetting> resolveConfigurationSettings(Element element) Resolves configuration points declared withSetting. -
getExtensionName
-
getExtensionClassname
-