1. /*
  2. * @(#)InterfaceType.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.type;
  8. import com.sun.mirror.declaration.*;
  9. /**
  10. * Represents an interface type.
  11. * Note that an {@linkplain AnnotationType annotation type} is
  12. * a kind of interface.
  13. *
  14. * <p> While an {@link InterfaceDeclaration} represents the
  15. * <i>declaration</i> of an interface, an <tt>InterfaceType</tt>
  16. * represents an interface <i>type</i>.
  17. * See {@link TypeDeclaration} for more on this distinction.
  18. *
  19. * @author Joseph D. Darcy
  20. * @author Scott Seligman
  21. * @version 1.1 04/01/26
  22. * @since 1.5
  23. */
  24. public interface InterfaceType extends DeclaredType {
  25. /**
  26. * {@inheritDoc}
  27. */
  28. InterfaceDeclaration getDeclaration();
  29. }