APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface EscapeTree

extends TextTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCEscape
Imports
javax.lang.model.element.Element, javax.lang.model.util.Elements

A tree node for a character represented by an escape sequence.

API Note

This class does not itself constrain the set of valid escape sequences, although the set may be effectively constrained to those defined in the Documentation Comment Specification for the Standard Doclet, including the following context-sensitive escape sequences:

Since
21

Method Summary

Modifier and TypeMethod and Description
public String
getBody()

Redeclares com.sun.source.doctree.TextTree.getBody.

Returns the text.

Method Detail

getBodyback to summary
public String getBody()

Redeclares com.sun.source.doctree.TextTree.getBody.

Doc from com.sun.source.doctree.TextTree.getBody.

Returns the text.

Note

this method returns the escaped character, not the original escape sequence.

Annotations
@Override