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.

ParameterizedTypesInAnnotationPatterns.aj 366B

1234567891011
  1. import java.util.List;
  2. public aspect ParameterizedTypesInAnnotationPatterns {
  3. // CE - not an annotation type
  4. pointcut simple() : staticinitialization(@List<String> String);
  5. // CE - no static initialization join points for parameterized types, use raw type instead
  6. pointcut combined() : staticinitialization(@(Foo || List<String>) String);
  7. }
  8. @interface Foo {}