Uses of Class
com.github.javaparser.ast.DataKey
Packages that use DataKey
-
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_KEYNode.PHANTOM_KEYNode.PRINTER_KEYstatic final DataKey<SymbolResolver> Node.SYMBOL_RESOLVER_KEYMethods 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 TypeMethodDescriptionbooleanNode.containsData(DataKey<?> key) <M> Optional<M> Gets data for this node using the given key or returns anOptional.empty().<M> MGets data for this node using the given key.voidNode.removeData(DataKey<?> key) Remove data by key.<M> voidSets 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 TypeFieldDescriptionstatic final DataKey<com.github.javaparser.printer.lexicalpreservation.NodeText> LexicalPreservingPrinter.NODE_TEXT_DATAThe nodetext for a node is stored in the node's data field.