/** * Gets the categories of this container that have annotations. * * @return the categories with annotations */ public Collection<AnnotationContainer> getCategories() { ArrayList<AnnotationContainer> categories = new ArrayList<AnnotationContainer>(); for (String category : annotationsByCategory.keySet()) { categories.add(getCategory(category)); } Collections.sort(categories); return categories; }
/** * Gets the categories of this container that have annotations. * * @return the categories with annotations */ public Collection<AnnotationContainer> getCategories() { ArrayList<AnnotationContainer> categories = new ArrayList<AnnotationContainer>(); for (String category : annotationsByCategory.keySet()) { categories.add(getCategory(category)); } Collections.sort(categories); return categories; }
DefaultAnnotationContainer category = container.getCategory(createHashCode(link, "category.")); detail = createAttributeDetail(owner, category, displayName, Messages.CategoryDetail_header(), defaultEncoding);
DefaultAnnotationContainer category = container.getCategory(createHashCode(link, "category.")); return createAttributeDetail(owner, category, displayName, Messages.CategoryDetail_header(), defaultEncoding);
DefaultAnnotationContainer category = container.getCategory(createHashCode(link, "category.")); detail = createAttributeDetail(owner, category, displayName, Messages.CategoryDetail_header(), defaultEncoding);