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
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull AnnotationMetadataresolveMetadata(@Nullable Class<?> type) Resolve theAnnotationMetadatafor the given type.default @NonNull AnnotationMetadataresolveMetadata(Object object) Resolve theAnnotationMetadatafor the given object.
-
Field Details
-
DEFAULT
The default resolver.
-
-
Method Details
-
resolveMetadata
Resolve theAnnotationMetadatafor the given type.- Parameters:
type- The type- Returns:
- The
AnnotationMetadata
-
resolveMetadata
Resolve theAnnotationMetadatafor the given object.- Parameters:
object- The object- Returns:
- The
AnnotationMetadata
-