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.
1234567891011121314 |
- import java.util.List;
-
- public aspect ParameterizedTypesInAnnotationPatterns {
- // CE - not an annotation type
- pointcut simple() : staticinitialization(@List<String> String);
- // CE - not an annotation type
- pointcut generic() : staticinitialization<T>(@List<T> Class<T>);
-
- // no CE, good enough for now? may improve error reporting for this later
- pointcut combined() : staticinitialization(@(Foo || List<String>) String);
-
- }
-
- @interface Foo {}
|