1. /*
  2. * @(#)AnnotationTypeDeclaration.java 1.2 04/04/20
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.mirror.declaration;
  8. import java.util.Collection;
  9. /**
  10. * Represents the declaration of an annotation type.
  11. *
  12. * @author Joseph D. Darcy
  13. * @author Scott Seligman
  14. * @version 1.2 04/04/20
  15. * @since 1.5
  16. */
  17. public interface AnnotationTypeDeclaration extends InterfaceDeclaration {
  18. /**
  19. * Returns the annotation type elements of this annotation type.
  20. * These are the methods that are directly declared in the type's
  21. * declaration.
  22. *
  23. * @return the annotation type elements of this annotation type,
  24. * or an empty collection if there are none
  25. */
  26. Collection<AnnotationTypeElementDeclaration> getMethods();
  27. }