Package io.micronaut.core.annotation
Interface AnnotationMetadataResolver
- All Known Subinterfaces:
ApplicationContext
,BeanContext
,ConfigurableApplicationContext
,ConfigurableBeanContext
,InitializableBeanContext
- All Known Implementing Classes:
DefaultApplicationContext
,DefaultBeanContext
public interface AnnotationMetadataResolver
An interface for types capable of resolving
AnnotationMetadata
.- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull AnnotationMetadata
resolveMetadata
(@Nullable Class<?> type) Resolve theAnnotationMetadata
for the given type.default @NonNull AnnotationMetadata
resolveMetadata
(Object object) Resolve theAnnotationMetadata
for the given object.
-
Field Details
-
DEFAULT
The default resolver.
-
-
Method Details
-
resolveMetadata
Resolve theAnnotationMetadata
for the given type.- Parameters:
type
- The type- Returns:
- The
AnnotationMetadata
-
resolveMetadata
Resolve theAnnotationMetadata
for the given object.- Parameters:
object
- The object- Returns:
- The
AnnotationMetadata
-