);
}
public void testMethodModifiers3() throws Exception {
assertFalse(
new ExpressionInfo("call(public void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertTrue(
new ExpressionInfo("call(void test.expression.Target.modifiers3())", NAMESPACE).getExpression()
.match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertTrue(
new ExpressionInfo("call(static final void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertFalse(
new ExpressionInfo("call(public static native void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertFalse(
new ExpressionInfo("call(public static void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertTrue(
new ExpressionInfo("call(synchronized void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertTrue(
new ExpressionInfo(
"call(protected native synchronized void test.expression.Target.modifiers3())",
NAMESPACE
).getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
assertTrue(
new ExpressionInfo("call(native protected void test.expression.Target.modifiers3())", NAMESPACE)
.getExpression().match(new ExpressionContext(PointcutType.CALL, modifiers3, null))
);
}