mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging to detect incorrect calls to light elements
This commit is contained in:
@@ -130,37 +130,37 @@ public abstract class LightElement extends PsiElementBase {
|
||||
|
||||
@Override
|
||||
public void checkAdd(@NotNull PsiElement element) throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement add(@NotNull PsiElement element) throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement addBefore(@NotNull PsiElement element, PsiElement anchor) throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement addAfter(@NotNull PsiElement element, PsiElement anchor) throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void delete() throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkDelete() throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement replace(@NotNull PsiElement newElement) throws IncorrectOperationException {
|
||||
throw new IncorrectOperationException();
|
||||
throw new IncorrectOperationException(getClass().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user