src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java

changeset 2035
a2a5ad0853ed
parent 1606
ccbe7ffdd867
child 2413
fe033d997ddf
     1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java	Wed Sep 18 14:39:27 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java	Wed Sep 18 17:13:26 2013 -0700
     1.3 @@ -55,14 +55,15 @@
     1.4      public static final int FIELDS          = 2;
     1.5      public static final int CONSTRUCTORS    = 3;
     1.6      public static final int METHODS         = 4;
     1.7 -    public static final int ANNOTATION_TYPE_MEMBER_OPTIONAL = 5;
     1.8 -    public static final int ANNOTATION_TYPE_MEMBER_REQUIRED = 6;
     1.9 -    public static final int PROPERTIES      = 7;
    1.10 +    public static final int ANNOTATION_TYPE_FIELDS = 5;
    1.11 +    public static final int ANNOTATION_TYPE_MEMBER_OPTIONAL = 6;
    1.12 +    public static final int ANNOTATION_TYPE_MEMBER_REQUIRED = 7;
    1.13 +    public static final int PROPERTIES      = 8;
    1.14  
    1.15      /**
    1.16       * The total number of member types is {@value}.
    1.17       */
    1.18 -    public static final int NUM_MEMBER_TYPES = 8;
    1.19 +    public static final int NUM_MEMBER_TYPES = 9;
    1.20  
    1.21      public static final String STARTLEVEL = "start";
    1.22  
    1.23 @@ -433,6 +434,9 @@
    1.24              }
    1.25              ProgramElementDoc[] members = null;
    1.26              switch (kind) {
    1.27 +                case ANNOTATION_TYPE_FIELDS:
    1.28 +                    members = cd.fields(filter);
    1.29 +                    break;
    1.30                  case ANNOTATION_TYPE_MEMBER_OPTIONAL:
    1.31                      members = cd.isAnnotationType() ?
    1.32                          filter((AnnotationTypeDoc) cd, false) :

mercurial