public class ChangeUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ChangeUtil.ChangeAction |
Constructor and Description |
---|
ChangeUtil() |
Modifier and Type | Method and Description |
---|---|
static TreeElement |
copyElement(TreeElement original,
CharTable table) |
static TreeElement |
copyElement(TreeElement original,
PsiElement context,
CharTable table) |
static LeafElement |
copyLeafWithText(LeafElement original,
java.lang.String text) |
static TreeElement |
copyToElement(PsiElement original) |
static TreeElement |
decodeInformation(TreeElement element) |
static void |
encodeInformation(TreeElement element) |
static TreeElement |
generateTreeElement(PsiElement original,
CharTable table,
PsiManager manager) |
static void |
prepareAndRunChangeAction(ChangeUtil.ChangeAction action,
TreeElement changedElement) |
public static void encodeInformation(TreeElement element)
public static TreeElement decodeInformation(TreeElement element)
public static LeafElement copyLeafWithText(LeafElement original, java.lang.String text)
public static TreeElement copyElement(TreeElement original, CharTable table)
public static TreeElement copyElement(TreeElement original, PsiElement context, CharTable table)
public static TreeElement copyToElement(PsiElement original)
public static TreeElement generateTreeElement(PsiElement original, CharTable table, PsiManager manager)
public static void prepareAndRunChangeAction(ChangeUtil.ChangeAction action, TreeElement changedElement)