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 8 package com.sun.mirror.declaration; 9 10 11 import java.util.Collection; 12 13 14 /** 15 * Represents the declaration of an enum type. 16 * 17 * @author Joseph D. Darcy 18 * @author Scott Seligman 19 * @version 1.1 04/01/26 20 * @since 1.5 21 */ 22 23 public interface EnumDeclaration extends ClassDeclaration { 24 25 /** 26 * Returns the enum constants defined for this enum. 27 * 28 * @return the enum constants defined for this enum, 29 * or an empty collection if there are none 30 */ 31 Collection<EnumConstantDeclaration> getEnumConstants(); 32 } 33