Package io.deephaven.engine.validation
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 TypeMethodDescriptionpermitConstructor(Constructor<?> constructor) Evaluate whether the provided constructor should be permitted.permitMethod(Method method) Evaluate whether the provided method should be permitted.
-
Method Details
-
permitConstructor
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
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
-