Class TypeSemanticTermsUtils
java.lang.Object
org.mule.runtime.extension.internal.semantic.TypeSemanticTermsUtils
Utility class for handling semantic terms declared at a type level.
This class IS NOT part of the API. To be used by the Mule Runtime only
- Since:
- 1.4.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidenrichWithTypeAnnotation(AnnotatedElement element, org.mule.metadata.api.builder.WithAnnotation annotatedBuilder) Introspects the givenelementfor semantic annotations (by the rules ofSemanticTermsHelper.getParameterTermsFromAnnotations(java.util.function.Function)).
-
Method Details
-
enrichWithTypeAnnotation
public static void enrichWithTypeAnnotation(AnnotatedElement element, org.mule.metadata.api.builder.WithAnnotation annotatedBuilder) Introspects the givenelementfor semantic annotations (by the rules ofSemanticTermsHelper.getParameterTermsFromAnnotations(java.util.function.Function)).If terms are found, the
annotatedBuilderis enriched with aSemanticTermsTypeAnnotationcarrying the found terms. no- Parameters:
element- anAnnotatedElementannotatedBuilder- aWithAnnotation
-