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.

AnnotatedElement.java 721B

123456789101112131415161718192021
  1. /* *******************************************************************
  2. * Copyright (c) 2004 IBM Corporation.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v 2.0
  6. * which accompanies this distribution and is available at
  7. * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
  8. *
  9. * ******************************************************************/
  10. package org.aspectj.weaver;
  11. /**
  12. * Represents any element that may have annotations
  13. */
  14. public interface AnnotatedElement {
  15. boolean hasAnnotation(UnresolvedType ofType);
  16. ResolvedType[] getAnnotationTypes();
  17. AnnotationAJ getAnnotationOfType(UnresolvedType ofType);
  18. }