8225465: Add @jls tags to receiver type methods
authordarcy
Thu, 06 Jun 2019 17:48:06 -0700
changeset 55275 0a7af38ef32a
parent 55274 8cd2d6dee328
child 55276 5a5f83da57eb
8225465: Add @jls tags to receiver type methods Reviewed-by: lancea, jjg
src/java.base/share/classes/java/lang/reflect/Executable.java
src/java.compiler/share/classes/javax/lang/model/element/ExecutableElement.java
src/java.compiler/share/classes/javax/lang/model/type/ExecutableType.java
--- a/src/java.base/share/classes/java/lang/reflect/Executable.java	Thu Jun 06 17:20:19 2019 -0700
+++ b/src/java.base/share/classes/java/lang/reflect/Executable.java	Thu Jun 06 17:48:06 2019 -0700
@@ -673,6 +673,10 @@
      * @return an object representing the receiver type of the method or
      * constructor represented by this {@code Executable} or {@code null} if
      * this {@code Executable} can not have a receiver parameter
+     *
+     * @jls 8.4 Method Declarations
+     * @jls 8.4.1 Formal Parameters
+     * @jls 8.8 Constructor Declarations
      */
     public AnnotatedType getAnnotatedReceiverType() {
         if (Modifier.isStatic(this.getModifiers()))
--- a/src/java.compiler/share/classes/javax/lang/model/element/ExecutableElement.java	Thu Jun 06 17:20:19 2019 -0700
+++ b/src/java.compiler/share/classes/javax/lang/model/element/ExecutableElement.java	Thu Jun 06 17:48:06 2019 -0700
@@ -95,6 +95,10 @@
      *
      * @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();
 
--- a/src/java.compiler/share/classes/javax/lang/model/type/ExecutableType.java	Thu Jun 06 17:20:19 2019 -0700
+++ b/src/java.compiler/share/classes/javax/lang/model/type/ExecutableType.java	Thu Jun 06 17:48:06 2019 -0700
@@ -92,6 +92,10 @@
      *
      * @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();