8225465: Add @jls tags to receiver type methods
Reviewed-by: lancea, jjg
This commit is contained in:
parent
4a3b3d365e
commit
a073e354ce
@ -673,6 +673,10 @@ public abstract class Executable extends AccessibleObject
|
||||
* @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()))
|
||||
|
@ -95,6 +95,10 @@ public interface ExecutableElement extends Element, Parameterizable {
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
@ -92,6 +92,10 @@ public interface ExecutableType extends TypeMirror {
|
||||
*
|
||||
* @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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user