Package io.micronaut.core.annotation
Interface AnnotationMetadataResolver
-
public interface AnnotationMetadataResolverAn interface for types capable of resolvingAnnotationMetadata.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static AnnotationMetadataResolverDEFAULTThe default resolver.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AnnotationMetadataresolveMetadata(java.lang.Class<?> type)Resolve theAnnotationMetadatafor the given type.default AnnotationMetadataresolveMetadata(java.lang.Object object)Resolve theAnnotationMetadatafor the given object.
-
-
-
Field Detail
-
DEFAULT
static final AnnotationMetadataResolver DEFAULT
The default resolver.
-
-
Method Detail
-
resolveMetadata
@NonNull default AnnotationMetadata resolveMetadata(@Nullable java.lang.Class<?> type)
Resolve theAnnotationMetadatafor the given type.- Parameters:
type- The type- Returns:
- The
AnnotationMetadata
-
resolveMetadata
@NonNull default AnnotationMetadata resolveMetadata(java.lang.Object object)
Resolve theAnnotationMetadatafor the given object.- Parameters:
object- The object- Returns:
- The
AnnotationMetadata
-
-