assertTrue(new ExpressionInfo("call(void test.expression.Target.parameters2(*, *, byte))", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, parameters2, null)));
}
public void testMethodParameters3() throws Exception {
assertFalse(new ExpressionInfo("call(void test.expression.Target.parameters3())", NAMESPACE).getExpression()
.match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertTrue(new ExpressionInfo("call(void test.expression.Target.parameters3(..))", NAMESPACE).getExpression()
.match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertFalse(new ExpressionInfo("call(void test.expression.Target.parameters3(int, ..))", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertTrue(new ExpressionInfo("call(void test.expression.Target.parameters3(String, ..))", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertFalse(new ExpressionInfo(
"call(void test.expression.Target.parameters3(String, String, String))",
NAMESPACE).getExpression().match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertTrue(new ExpressionInfo(
"call(void test.expression.Target.parameters3(String, StringBuffer, String))",
NAMESPACE).getExpression().match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
assertFalse(new ExpressionInfo(
"call(void test.expression.Target.parameters3(String, StringBuffer, String, *))",
NAMESPACE).getExpression().match(new ExpressionContext(PointcutType.CALL, parameters3, null)));
}