src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/NestedClassWriterImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
211 */ |
211 */ |
212 @Override |
212 @Override |
213 protected Content getNavSummaryLink(TypeElement typeElement, boolean link) { |
213 protected Content getNavSummaryLink(TypeElement typeElement, boolean link) { |
214 if (link) { |
214 if (link) { |
215 if (typeElement == null) { |
215 if (typeElement == null) { |
216 return Links.createLink( |
216 return links.createLink( |
217 SectionName.NESTED_CLASS_SUMMARY, |
217 SectionName.NESTED_CLASS_SUMMARY, |
218 contents.navNested); |
218 contents.navNested); |
219 } else { |
219 } else { |
220 return links.createLink( |
220 return links.createLink( |
221 SectionName.NESTED_CLASSES_INHERITANCE, |
221 SectionName.NESTED_CLASSES_INHERITANCE, |