lij.runtime
Class ConstraintInstance.ConstraintMethodInstance
java.lang.Object
lij.runtime.ConstraintInstance
lij.runtime.ConstraintInstance.ConstraintMethodInstance
- Enclosing class:
- ConstraintInstance
private static class ConstraintInstance.ConstraintMethodInstance
- extends ConstraintInstance
A ConstraintInstance subclass for method constraints.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintInstance.ConstraintMethodInstance
private ConstraintInstance.ConstraintMethodInstance()
check
public Result.State check()
throws InterpreterException
- Description copied from class:
ConstraintInstance
- This method needs to be implemented by any subclasses. It performs the
evaluation (checking) of the constraint.
- Specified by:
check
in class ConstraintInstance
- Returns:
- The result of the evaluation (TRUE, FALSE or MAYBE).
- Throws:
InterpreterException
executeConstraintMethod
Result.State executeConstraintMethod(java.lang.Object object,
java.lang.String methodName,
java.lang.Class[] parameterTypes,
Accessor[] argumentAccessors)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException