Package io.micronaut.serde.support.util
Class SerdeAnnotationUtil
java.lang.Object
io.micronaut.serde.support.util.SerdeAnnotationUtil
Utility methods for annotations.
- Since:
- 1.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>[]
resolveViews
(io.micronaut.core.annotation.AnnotationMetadata beanMetadata, io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) Resolve json views.
-
Constructor Details
-
SerdeAnnotationUtil
public SerdeAnnotationUtil()
-
-
Method Details
-
resolveViews
public static Class<?>[] resolveViews(io.micronaut.core.annotation.AnnotationMetadata beanMetadata, io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) Resolve json views.- Parameters:
beanMetadata
- The bean metadataannotationMetadata
- The element metadata- Returns:
- The views
-