1. /*
  2. * @(#)EnumDeclaration.java 1.1 04/01/26
  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 enum type.
  11. *
  12. * @author Joseph D. Darcy
  13. * @author Scott Seligman
  14. * @version 1.1 04/01/26
  15. * @since 1.5
  16. */
  17. public interface EnumDeclaration extends ClassDeclaration {
  18. /**
  19. * Returns the enum constants defined for this enum.
  20. *
  21. * @return the enum constants defined for this enum,
  22. * or an empty collection if there are none
  23. */
  24. Collection<EnumConstantDeclaration> getEnumConstants();
  25. }