Klasse AbstractExecutableMemberWriter
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractExecutableMemberWriter
- Alle implementierten Schnittstellen:
MemberSummaryWriter,MemberWriter
- Bekannte direkte Unterklassen:
ConstructorWriterImpl,MethodWriterImpl
Print method and constructor info.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
configuration, contents, htmlIds, links, options, resources, typeElement, utils, writer -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractExecutableMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddInheritedSummaryLink(TypeElement te, Element member, Content target) Adds the inherited summary link for the member.protected voidaddParam(VariableElement param, TypeMirror paramType, boolean isVarArg, Content target) Add the parameter for the executable member.protected voidaddParameters(ExecutableElement member, Content target) Add all the parameters for the executable member.protected voidaddReceiver(ExecutableElement member, TypeMirror rcvrType, Content target) Add the receiver information.protected voidaddSummaryLink(HtmlLinkInfo.Kind context, TypeElement te, Element member, Content target) Adds the summary link for the member.protected ContentgetExceptions(ExecutableElement member) Get the exception information for the executable member.protected ContentgetParameters(ExecutableElement member, boolean includeAnnotations) Add all the parameters for the executable member.protected ContentgetSummaryLink(Element member) Returns a link for summary (deprecated, preview) pages.protected ContentgetTypeParameters(ExecutableElement member) Get the type parameters for the executable member.protected TypeElementimplementsMethodInIntfac(ExecutableElement method, List<TypeElement> intfacs) protected booleanisAnnotatedReceiver(TypeMirror receiverType) Returns true if a receiver type is annotated anywhere in its type for inclusion in member details.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
addComment, addDeprecatedInfo, addInheritedMemberSummary, addInheritedSummaryLabel, addMemberSummary, addModifiersAndType, addPreviewInfo, addSummaryLabel, addSummaryLink, addSummaryType, addUseInfo, createSummaryTable, getInheritedSummaryHeader, getInheritedSummaryLinks, getMember, getMemberList, getMemberListItem, getSummaryTable, getSummaryTableHeader, name, serialWarningVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.MemberSummaryWriter
addSummary, getMemberSummaryHeader
-
Konstruktordetails
-
AbstractExecutableMemberWriter
-
AbstractExecutableMemberWriter
-
-
Methodendetails
-
getTypeParameters
Get the type parameters for the executable member.- Parameter:
member- the member for which to get the type parameters.- Gibt zurück:
- the type parameters.
-
getSummaryLink
Beschreibung aus Klasse kopiert:AbstractMemberWriterReturns a link for summary (deprecated, preview) pages.- Angegeben von:
getSummaryLinkin KlasseAbstractMemberWriter- Parameter:
member- the member being linked to- Gibt zurück:
- the link
-
addSummaryLink
protected void addSummaryLink(HtmlLinkInfo.Kind context, TypeElement te, Element member, Content target) Beschreibung aus Klasse kopiert:AbstractMemberWriterAdds the summary link for the member.- Angegeben von:
addSummaryLinkin KlasseAbstractMemberWriter- Parameter:
context- the id of the context where the link will be printedte- the type element to be documentedmember- the member to be documentedtarget- the content to which the summary link will be added
-
addInheritedSummaryLink
Beschreibung aus Klasse kopiert:AbstractMemberWriterAdds the inherited summary link for the member.- Angegeben von:
addInheritedSummaryLinkin KlasseAbstractMemberWriter- Parameter:
te- the type element to be documentedmember- the member to be documentedtarget- the content to which the inherited summary link will be added
-
addParam
protected void addParam(VariableElement param, TypeMirror paramType, boolean isVarArg, Content target) Add the parameter for the executable member.- Parameter:
param- the parameter that needs to be added.paramType- the type of the parameter.isVarArg- true if this is a link to var arg.target- the content to which the parameter information will be added.
-
addReceiver
Add the receiver information.Note: receivers can only have type-use annotations.
- Parameter:
member- the member to write receiver annotations for.rcvrType- the receiver type.target- the content to which the information will be added.
-
isAnnotatedReceiver
Returns true if a receiver type is annotated anywhere in its type for inclusion in member details.- Parameter:
receiverType- the receiver type.- Gibt zurück:
- true if the receiver is annotated
-
addParameters
Add all the parameters for the executable member.- Parameter:
member- the member to write parameters for.target- the content to which the parameters information will be added.
-
getParameters
Add all the parameters for the executable member.- Parameter:
member- the member to write parameters for.includeAnnotations- true if annotation information needs to be added.- Gibt zurück:
- the parameter information
-
getExceptions
Get the exception information for the executable member.- Parameter:
member- the member to get the exception information for- Gibt zurück:
- the exception information
-
implementsMethodInIntfac
-