< prev index next >

src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java

Print this page

        

@@ -24,11 +24,10 @@
  */
 
 package javax.lang.model.element;
 
 import java.util.List;
-import javax.lang.model.type.TypeMirror;
 
 /**
  * Represents a module program element.  Provides access to
  * information about the module, its directives, and its members.
  *

@@ -36,20 +35,10 @@
  * @since 9
  * @jls 7.7 Module Declarations
  * @spec JPMS
  */
 public interface ModuleElement extends Element, QualifiedNameable {
-    /**
-     * Returns a {@linkplain javax.lang.model.type.NoType pseudo-type}
-     * for this module.
-     * @return a pseudo-type for this module
-     *
-     * @see javax.lang.model.type.NoType
-     * @see javax.lang.model.type.TypeKind#MODULE
-     */
-    @Override
-    TypeMirror asType();
 
     /**
      * Returns the fully qualified name of this module.  For an
      * {@linkplain #isUnnamed() unnamed module}, an empty name is returned.
      *
< prev index next >