Klasse NodeInfoStore
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.NodeInfoStore
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic final class
static final class
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
clear()
getPlaceholderData
(ASTNode node) boolean
isCollapsed
(ASTNode node) final void
markAsCopyTarget
(ASTNode target, RewriteEventStore.CopySourceInfo copySource) Marks a node as a copy or move target.final void
markAsStringPlaceholder
(ASTNode placeholder, String code) Marks a node as a placehoder for a plain string content.final ASTNode
newPlaceholderNode
(int nodeType) Creates a placeholder node of the given type.
-
Konstruktordetails
-
NodeInfoStore
-
-
Methodendetails
-
markAsStringPlaceholder
Marks a node as a placehoder for a plain string content. The type of the node should correspond to the code's code content.- Parameter:
placeholder
- The placeholder node that acts for the string content.code
- The string content.
-
markAsCopyTarget
Marks a node as a copy or move target. The copy target represents a copied node at the target (copied) site.- Parameter:
target
- The node at the target site. Can be a placeholder node but also the source node itself.copySource
- The info at the source site.
-
newPlaceholderNode
Creates a placeholder node of the given type.null
if the type is not supported- Parameter:
nodeType
- Type of the node to create. Use the type constants inNodeInfoStore
.- Gibt zurück:
- Returns a place holder node.
-
createCollapsePlaceholder
-
isCollapsed
-
getPlaceholderData
-
clear
public void clear()
-