Interface Validator<A extends Annotation,V,E extends Exception>

All Known Implementing Classes:
CustomValidator

public interface Validator<A extends Annotation,V,E extends Exception>
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable Class<A>
     
    default @Nullable Class<V>
     
    boolean
    validate(Context context, A annotation, org.panda_lang.utilities.inject.Property property, V value)
     
  • Method Details

    • validate

      boolean validate(Context context, A annotation, org.panda_lang.utilities.inject.Property property, V value) throws E
      Throws:
      E extends Exception
    • getAnnotation

      @Nullable default @Nullable Class<A> getAnnotation()
    • getType

      @Nullable default @Nullable Class<V> getType()