< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -39,21 +39,10 @@
  * @see ExecutableType
  * @since 1.6
  */
 public interface ExecutableElement extends Element, Parameterizable {
     /**
-     * Returns the {@linkplain ExecutableType executable type} defined
-     * by this executable element.
-     *
-     * @return the executable type defined by this executable element
-     *
-     * @see ExecutableType
-     */
-    @Override
-    TypeMirror asType();
-
-    /**
      * Returns the formal type parameters of this executable
      * in declaration order.
      *
      * @return the formal type parameters, or an empty list
      * if there are none

@@ -93,14 +82,10 @@
      * non-inner class, or an initializer (static or instance), has no
      * receiver type.
      *
      * @return the receiver type of this executable
      * @since 1.8
-     *
-     * @jls 8.4 Method Declarations
-     * @jls 8.4.1 Formal Parameters
-     * @jls 8.8 Constructor Declarations
      */
     TypeMirror getReceiverType();
 
     /**
      * Returns {@code true} if this method or constructor accepts a variable
< prev index next >