Class NodeInfoStore
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.NodeInfoStore
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getPlaceholderData(ASTNode node)
boolean
isCollapsed(ASTNode node)
void
markAsCopyTarget(ASTNode target, RewriteEventStore.CopySourceInfo copySource)
Marks a node as a copy or move target.void
markAsStringPlaceholder(ASTNode placeholder, String code)
Marks a node as a placehoder for a plain string content.newPlaceholderNode(int nodeType)
Creates a placeholder node of the given type.
-
Constructor Details
-
NodeInfoStore
-
-
Method Details
-
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.- Parameters:
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.- Parameters:
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- Parameters:
nodeType
- Type of the node to create. Use the type constants inNodeInfoStore
.- Returns:
- Returns a place holder node.
-
createCollapsePlaceholder
-
isCollapsed
-
getPlaceholderData
-
clear
public void clear()
-