Uses of Class
com.github.javaparser.ast.DataKey
-
Packages that use DataKey Package Description com.github.javaparser.ast com.github.javaparser.printer.lexicalpreservation -
-
Uses of DataKey in com.github.javaparser.ast
Fields in com.github.javaparser.ast declared as DataKey Modifier and Type Field Description static DataKey<LineSeparator>
Node. LINE_SEPARATOR_KEY
protected static DataKey<Boolean>
Node. PHANTOM_KEY
protected static DataKey<Printer>
Node. PRINTER_KEY
static DataKey<SymbolResolver>
Node. SYMBOL_RESOLVER_KEY
Methods in com.github.javaparser.ast that return types with arguments of type DataKey Modifier and Type Method Description Set<DataKey<?>>
Node. getDataKeys()
This method was added to support the clone method.Methods in com.github.javaparser.ast with parameters of type DataKey Modifier and Type Method Description boolean
Node. containsData(DataKey<?> key)
<M> Optional<M>
Node. findData(DataKey<M> key)
Gets data for this node using the given key or returns anOptional.empty()
.<M> M
Node. getData(DataKey<M> key)
Gets data for this node using the given key.void
Node. removeData(DataKey<?> key)
Remove data by key.<M> void
Node. setData(DataKey<M> key, M object)
Sets data for this node using the given key. -
Uses of DataKey in com.github.javaparser.printer.lexicalpreservation
Fields in com.github.javaparser.printer.lexicalpreservation declared as DataKey Modifier and Type Field Description static DataKey<com.github.javaparser.printer.lexicalpreservation.NodeText>
LexicalPreservingPrinter. NODE_TEXT_DATA
The nodetext for a node is stored in the node's data field.
-