Uses of Class
com.github.javaparser.ast.DataKey
Packages that use DataKey
Package
Description
Implementation of model based on JavaParser.
-
Uses of DataKey in com.github.javaparser.ast
Fields in com.github.javaparser.ast declared as DataKeyModifier and TypeFieldDescriptionstatic final DataKey
<LineSeparator> Node.LINE_SEPARATOR_KEY
Node.PHANTOM_KEY
Node.PRINTER_KEY
static final DataKey
<SymbolResolver> Node.SYMBOL_RESOLVER_KEY
Fields in com.github.javaparser.ast with type parameters of type DataKeyMethods in com.github.javaparser.ast that return types with arguments of type DataKeyModifier and TypeMethodDescriptionNode.getDataKeys()
This method was added to support the clone method.Methods in com.github.javaparser.ast with parameters of type DataKeyModifier and TypeMethodDescriptionboolean
Node.containsData
(DataKey<?> key) <M> Optional
<M> Gets data for this node using the given key or returns anOptional.empty()
.<M> M
Gets data for this node using the given key.void
Node.removeData
(DataKey<?> key) Remove data by key.<M> void
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 DataKeyModifier and TypeFieldDescriptionLexicalPreservingPrinter.NODE_TEXT_DATA
The nodetext for a node is stored in the node's data field. -
Uses of DataKey in com.github.javaparser.symbolsolver.javaparsermodel
Fields in com.github.javaparser.symbolsolver.javaparsermodel declared as DataKeyModifier and TypeFieldDescriptionprivate static final DataKey
<ResolvedType> JavaParserFacade.TYPE_WITH_LAMBDAS_RESOLVED
private static final DataKey
<ResolvedType> JavaParserFacade.TYPE_WITHOUT_LAMBDAS_RESOLVED