< prev index next >
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
Print this page
*** 71,95 ****
* deletion without notice.</b>
*/
public abstract class AbstractMemberWriter implements MemberSummaryWriter {
protected final HtmlConfiguration configuration;
protected final Utils utils;
protected final SubWriterHolderWriter writer;
protected final Contents contents;
protected final Resources resources;
protected final Links links;
protected final TypeElement typeElement;
- public final boolean nodepr;
-
- protected boolean printedSummaryHeader = false;
public AbstractMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement) {
this.configuration = writer.configuration;
this.writer = writer;
- this.nodepr = configuration.nodeprecated;
this.typeElement = typeElement;
this.utils = configuration.utils;
this.contents = configuration.contents;
this.resources = configuration.resources;
this.links = writer.links;
--- 71,93 ----
* deletion without notice.</b>
*/
public abstract class AbstractMemberWriter implements MemberSummaryWriter {
protected final HtmlConfiguration configuration;
+ protected final HtmlOptions options;
protected final Utils utils;
protected final SubWriterHolderWriter writer;
protected final Contents contents;
protected final Resources resources;
protected final Links links;
protected final TypeElement typeElement;
public AbstractMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement) {
this.configuration = writer.configuration;
+ this.options = configuration.getOptions();
this.writer = writer;
this.typeElement = typeElement;
this.utils = configuration.utils;
this.contents = configuration.contents;
this.resources = configuration.resources;
this.links = writer.links;
*** 378,388 ****
contentTree.add(useTable.toContent());
}
}
protected void serialWarning(Element e, String key, String a1, String a2) {
! if (configuration.serialwarn) {
configuration.messages.warning(e, key, a1, a2);
}
}
/**
--- 376,386 ----
contentTree.add(useTable.toContent());
}
}
protected void serialWarning(Element e, String key, String a1, String a2) {
! if (options.serialWarn) {
configuration.messages.warning(e, key, a1, a2);
}
}
/**
*** 596,606 ****
}
// Name
HtmlTree nameSpan = new HtmlTree(HtmlTag.SPAN);
nameSpan.setStyle(HtmlStyle.memberName);
! if (configuration.linksource) {
Content name = new StringContent(name(element));
writer.addSrcLink(element, name, nameSpan);
} else {
nameSpan.add(name(element));
}
--- 594,604 ----
}
// Name
HtmlTree nameSpan = new HtmlTree(HtmlTag.SPAN);
nameSpan.setStyle(HtmlStyle.memberName);
! if (options.linkSource) {
Content name = new StringContent(name(element));
writer.addSrcLink(element, name, nameSpan);
} else {
nameSpan.add(name(element));
}
< prev index next >