public static interface PsiDocumentManager.Listener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
documentCreated(Document document,
PsiFile psiFile)
Called when a document instance is created for a file.
|
default void |
fileCreated(PsiFile file,
Document document)
Called when a file instance is created for a document.
|
void documentCreated(Document document, PsiFile psiFile)
document
- the created document instance.psiFile
- the file for which the document was created.PsiDocumentManager.getDocument(PsiFile)
default void fileCreated(PsiFile file, Document document)
file
- the created file instance.document
- the document for which the file was created.PsiDocumentManager.getDocument(PsiFile)