public class MethodConstraintFactory extends Object
Constructor and Description |
---|
MethodConstraintFactory() |
Modifier and Type | Method and Description |
---|---|
Expression |
name(Expression expression)
Passes if the mame of any method passed to this constraint passes the expression
passes as the expression parameter.
|
Expression |
paramTypes(Expression[] expressions)
Returns an expression that matches the parametertypes of a method.
|
public Expression name(Expression expression)
expression
- The expression the name of a methofd passed to the constraint must passpublic Expression paramTypes(Expression[] expressions)
expressions
- Expressions to match the parameter types of this methodCopyright © 2005-2013 Agical AB. All Rights Reserved.