You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- public aspect ProblemAspect {
-
- pointcut init(): initialization(Object+.new(..));
-
- pointcut staticinit(): staticinitialization(Object+);
-
- Class around(String className): cflowbelow(init() || staticinit()) &&
- call(Class Class.forName(String)) && args(className) {
- System.out.println("Test");
- return proceed(className);
-
- }
- }
|