Java Code Examples for com.intellij.psi.impl.DebugUtil#onInvalidated()
The following examples show how to use
com.intellij.psi.impl.DebugUtil#onInvalidated() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CompositeElement.java From consulo with Apache License 2.0 | 5 votes |
public void setPsi(@Nonnull PsiElement psi) { PsiElement prev = myWrapper; if (prev != null && prev != psi) { DebugUtil.onInvalidated(prev); } myWrapper = psi; }
Example 2
Source File: TreeElement.java From consulo with Apache License 2.0 | 4 votes |
protected void onInvalidated() { DebugUtil.onInvalidated(this); }