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.

RequiredTypes.java 1.2KB

123456789101112131415161718192021222324252627282930
  1. /* *******************************************************************
  2. * Copyright (c) 2014 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. * ******************************************************************/
  9. package org.aspectj.lang.annotation;
  10. import java.lang.annotation.ElementType;
  11. import java.lang.annotation.Retention;
  12. import java.lang.annotation.RetentionPolicy;
  13. import java.lang.annotation.Target;
  14. /**
  15. * Can be specified on an aspect to ensure that particular types must be accessible before
  16. * the aspect will be 'activated'. The array value should be a list of fully qualified
  17. * type names as strings, for example "com.foo.Bar". Useful in an aspect library that
  18. * includes a number of aspects, only a few of which should ever be active depending
  19. * upon what is on the classpath.
  20. *
  21. * @author Andy Clement
  22. * @since 1.8.3
  23. */
  24. @Retention(RetentionPolicy.RUNTIME)
  25. @Target(ElementType.TYPE)
  26. public @interface RequiredTypes {
  27. String[] value();
  28. }