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