Package io.micronaut.inject.writer
Interface OriginatingElements
- All Known Subinterfaces:
BeanDefinitionVisitor
,ProxyingBeanDefinitionVisitor
- All Known Implementing Classes:
AbstractAnnotationMetadataWriter
,AbstractClassFileWriter
,AnnotationMetadataWriter
,AopProxyWriter
,BeanConfigurationWriter
,BeanDefinitionReferenceWriter
,BeanDefinitionWriter
,DispatchWriter
,EvaluatedExpressionWriter
,ExecutableMethodsDefinitionWriter
,StaticOriginatingElements
public interface OriginatingElements
Interface for types that provide originating elements.
- Since:
- 2.1.1
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOriginatingElement
(@NonNull Element element) Add another element that should be included in the originating elements.static OriginatingElements
Factory to create the originating elements.
-
Method Details
-
getOriginatingElements
- Returns:
- The elements where the bean definition originated from as an array.
- Since:
- 2.1.1
-
addOriginatingElement
Add another element that should be included in the originating elements.- Parameters:
element
- The element to add- Since:
- 2.1.1
-
of
Factory to create the originating elements.- Parameters:
elements
- The elements- Returns:
- The originating elements
-