langtools/src/share/classes/com/sun/tools/javac/model/JavacAnnoConstructs.java
changeset 19248 46cb3cd6023b
parent 19126 20123a84b35a
child 20249 93f8eae31092
equal deleted inserted replaced
19247:71b0c0710a47 19248:46cb3cd6023b
   170                 arr[0] = res;
   170                 arr[0] = res;
   171             return arr;
   171             return arr;
   172         }
   172         }
   173 
   173 
   174         // So we have a containing type
   174         // So we have a containing type
   175         String annoTypeName = annoType.getSimpleName();
   175         String annoTypeName = annoType.getName();
   176         String containerTypeName = containerType.getSimpleName();
   176         String containerTypeName = containerType.getName();
   177         int directIndex = -1, containerIndex = -1;
   177         int directIndex = -1, containerIndex = -1;
   178         Attribute.Compound direct = null, container = null;
   178         Attribute.Compound direct = null, container = null;
   179         // Find directly (explicit or implicit) present annotations
   179         // Find directly (explicit or implicit) present annotations
   180         int index = -1;
   180         int index = -1;
   181         for (List<Attribute.Compound> list = annotated.getAnnotationMirrors();
   181         for (List<Attribute.Compound> list = annotated.getAnnotationMirrors();
   301                 arr[0] = res;
   301                 arr[0] = res;
   302             return arr;
   302             return arr;
   303         }
   303         }
   304 
   304 
   305         // So we have a containing type
   305         // So we have a containing type
   306         String annoTypeName = annoType.getSimpleName();
   306         String annoTypeName = annoType.getName();
   307         String containerTypeName = containerType.getSimpleName();
   307         String containerTypeName = containerType.getName();
   308         int directIndex = -1, containerIndex = -1;
   308         int directIndex = -1, containerIndex = -1;
   309         Attribute.Compound direct = null, container = null;
   309         Attribute.Compound direct = null, container = null;
   310         // Find directly (explicit or implicit) present annotations
   310         // Find directly (explicit or implicit) present annotations
   311         int index = -1;
   311         int index = -1;
   312         for (List<? extends Attribute.Compound> list = annotated.getAnnotationMirrors();
   312         for (List<? extends Attribute.Compound> list = annotated.getAnnotationMirrors();