public class ElementManipulators extends ClassExtension<ElementManipulator>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EP_NAME |
static ElementManipulators |
INSTANCE |
myEpListenerAdded, myLock
EVER_CHANGED, NEVER_CHANGED
Modifier and Type | Method and Description |
---|---|
static <T extends PsiElement> |
getManipulator(T element) |
static <T extends PsiElement> |
getNotNullManipulator(T element) |
static int |
getOffsetInElement(PsiElement element) |
static java.lang.String |
getValueText(PsiElement element) |
static TextRange |
getValueTextRange(PsiElement element) |
static <T extends PsiElement> |
handleContentChange(T element,
java.lang.String text) |
static <T extends PsiElement> |
handleContentChange(T element,
TextRange range,
java.lang.String text) |
buildExtensions, forClass, keyToString
addExplicitExtension, addExplicitExtension, buildExtensions, buildExtensionsFromExplicitRegistration, clearCache, ensureValuesLoaded, findSingle, forKey, getExtensions, getModificationCount, getName, getPoint, hasAnyExtensions, invalidateCacheForExtension, removeExplicitExtension
public static final java.lang.String EP_NAME
public static final ElementManipulators INSTANCE
public static <T extends PsiElement> ElementManipulator<T> getManipulator(T element)
getNotNullManipulator(PsiElement)
public static int getOffsetInElement(PsiElement element)
public static <T extends PsiElement> ElementManipulator<T> getNotNullManipulator(T element)
public static TextRange getValueTextRange(PsiElement element)
public static java.lang.String getValueText(PsiElement element)
public static <T extends PsiElement> T handleContentChange(T element, java.lang.String text)
public static <T extends PsiElement> T handleContentChange(T element, TextRange range, java.lang.String text)