public interface GenerationInfo
Modifier and Type | Field and Description |
---|---|
static GenerationInfo[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
PsiElement |
findInsertionAnchor(PsiClass aClass,
PsiElement leaf) |
PsiMember |
getPsiMember() |
void |
insert(PsiClass aClass,
PsiElement anchor,
boolean before) |
void |
positionCaret(Editor editor,
boolean toEditMethodBody)
Position caret in generated element in correct way
|
static final GenerationInfo[] EMPTY_ARRAY
void insert(PsiClass aClass, PsiElement anchor, boolean before) throws IncorrectOperationException
IncorrectOperationException
PsiMember getPsiMember()
PsiElement findInsertionAnchor(PsiClass aClass, PsiElement leaf)
leaf
- leaf element. Is guaranteed to be a tree descendant of aClass.insert(PsiClass, PsiElement, boolean)
method later.void positionCaret(Editor editor, boolean toEditMethodBody)