please add getMethod() mthod to ConstraintNode