Interface AnnotatedElementValidator


public interface AnnotatedElementValidator
Abstract validator for AnnotatedElement that may represent source code level validation routes executed at compilation time.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Set<String>
    validatedAnnotatedElement(@NonNull io.micronaut.core.annotation.AnnotatedElement element, @Nullable Object value)
    Validates an annotated element for the given value.
  • Method Details

    • validatedAnnotatedElement

      @NonNull @NonNull Set<String> validatedAnnotatedElement(@NonNull @NonNull io.micronaut.core.annotation.AnnotatedElement element, @Nullable @Nullable Object value)
      Validates an annotated element for the given value.
      Parameters:
      element - The element
      value - The value
      Returns:
      The error messages