src/share/classes/com/sun/mirror/type/InterfaceType.java

Print this page




  22  * CA 95054 USA or visit www.sun.com if you need additional information or
  23  * have any questions.
  24  */
  25 
  26 package com.sun.mirror.type;
  27 
  28 
  29 import com.sun.mirror.declaration.*;
  30 
  31 
  32 /**
  33  * Represents an interface type.
  34  * Note that an {@linkplain AnnotationType annotation type} is
  35  * a kind of interface.
  36  *
  37  * <p> While an {@link InterfaceDeclaration} represents the
  38  * <i>declaration</i> of an interface, an <tt>InterfaceType</tt>
  39  * represents an interface <i>type</i>.
  40  * See {@link TypeDeclaration} for more on this distinction.
  41  *





  42  * @author Joseph D. Darcy
  43  * @author Scott Seligman
  44  * @since 1.5
  45  */
  46 

  47 public interface InterfaceType extends DeclaredType {
  48 
  49     /**
  50      * {@inheritDoc}
  51      */
  52     InterfaceDeclaration getDeclaration();
  53 }


  22  * CA 95054 USA or visit www.sun.com if you need additional information or
  23  * have any questions.
  24  */
  25 
  26 package com.sun.mirror.type;
  27 
  28 
  29 import com.sun.mirror.declaration.*;
  30 
  31 
  32 /**
  33  * Represents an interface type.
  34  * Note that an {@linkplain AnnotationType annotation type} is
  35  * a kind of interface.
  36  *
  37  * <p> While an {@link InterfaceDeclaration} represents the
  38  * <i>declaration</i> of an interface, an <tt>InterfaceType</tt>
  39  * represents an interface <i>type</i>.
  40  * See {@link TypeDeclaration} for more on this distinction.
  41  *
  42  * @deprecated All components of this API have been superseded by the
  43  * standardized annotation processing API.  The replacement for the
  44  * functionality of this interface is included in {@link
  45  * javax.lang.model.type.DeclaredType}.
  46  *
  47  * @author Joseph D. Darcy
  48  * @author Scott Seligman
  49  * @since 1.5
  50  */
  51 @Deprecated
  52 @SuppressWarnings("deprecation")
  53 public interface InterfaceType extends DeclaredType {
  54 
  55     /**
  56      * {@inheritDoc}
  57      */
  58     InterfaceDeclaration getDeclaration();
  59 }