1.1 --- a/src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java Mon Apr 08 11:57:37 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java Tue Apr 09 14:18:22 2013 -0700 1.3 @@ -199,6 +199,17 @@ 1.4 return result; 1.5 } 1.6 1.7 + /** 1.8 + * Get the receiver type of this executable element. 1.9 + * 1.10 + * @return the receiver type of this executable element. 1.11 + * @since 1.8 1.12 + */ 1.13 + public com.sun.javadoc.Type receiverType() { 1.14 + Type recvtype = sym.type.asMethodType().recvtype; 1.15 + return (recvtype != null) ? TypeMaker.getType(env, recvtype, false, true) : null; 1.16 + } 1.17 + 1.18 public AnnotationDesc[] receiverAnnotations() { 1.19 // TODO: change how receiver annotations are output! 1.20 Type recvtype = sym.type.asMethodType().recvtype;