Getting an error while making the below staticInitialisation advice generic

26 Views Asked by At

Since the below given advice works only for a specific class

@Before("staticinitialization(org.mazouz.aop.Main1)")

I tried to make the advice generic such that it can work for any package

@Before("staticinitialization(*.*.*(..))")

Im getting the below error

Syntax error on token "staticinitialization(*.*.*(..))", ")" expected
0

There are 0 best solutions below