Interface MethodInvocationValidator

All Known Implementing Classes:
AnnotationMethodInvocationValidator, CachingMethodInvocationValidator, MethodListInvocationValidator

public interface MethodInvocationValidator
Interface for implementations of ColumnExpressionValidator to evaluate an individual method or constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Evaluate whether the provided constructor should be permitted.
    Evaluate whether the provided method should be permitted.
  • Method Details

    • permitConstructor

      Boolean permitConstructor(Constructor<?> constructor)
      Evaluate whether the provided constructor should be permitted.
      Parameters:
      constructor - the constructor to evaluate
      Returns:
      true if the constructor should be permitted, false if it should not be permitted, or null if this validator has no opinion
    • permitMethod

      Boolean permitMethod(Method method)
      Evaluate whether the provided method should be permitted.
      Parameters:
      method - the constructor to evaluate
      Returns:
      true if the method should be permitted, false if it should not be permitted, or null if this validator has no opinion