src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java

changeset 1691
f10cffab99b4
parent 1686
eb134c8e931d
child 1755
ddb4a2bfcd82
     1.1 --- a/src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java	Sat Apr 13 12:25:44 2013 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java	Sat Apr 13 18:48:29 2013 -0700
     1.3 @@ -210,24 +210,6 @@
     1.4          return (recvtype != null) ? TypeMaker.getType(env, recvtype, false, true) : null;
     1.5      }
     1.6  
     1.7 -    public AnnotationDesc[] receiverAnnotations() {
     1.8 -        // TODO: change how receiver annotations are output!
     1.9 -        Type recvtype = sym.type.asMethodType().recvtype;
    1.10 -        if (recvtype == null) {
    1.11 -            return new AnnotationDesc[0];
    1.12 -        }
    1.13 -        if (!recvtype.isAnnotated()) {
    1.14 -            return new AnnotationDesc[0];
    1.15 -        }
    1.16 -        List<? extends Compound> typeAnnos = ((com.sun.tools.javac.code.Type.AnnotatedType)recvtype).typeAnnotations;
    1.17 -        AnnotationDesc result[] = new AnnotationDesc[typeAnnos.length()];
    1.18 -        int i = 0;
    1.19 -        for (Attribute.Compound a : typeAnnos) {
    1.20 -            result[i++] = new AnnotationDescImpl(env, a);
    1.21 -        }
    1.22 -        return result;
    1.23 -    }
    1.24 -
    1.25      /**
    1.26       * Return the formal type parameters of this method or constructor.
    1.27       * Return an empty array if there are none.

mercurial