public class JavaTypedHandler extends TypedHandlerDelegate
TypedHandlerDelegate.ResultEP_NAME| Constructor and Description |
|---|
JavaTypedHandler() |
| Modifier and Type | Method and Description |
|---|---|
TypedHandlerDelegate.Result |
beforeCharTyped(char c,
Project project,
Editor editor,
PsiFile file,
FileType fileType)
Called before the specified character typed by the user is inserted in the editor.
|
TypedHandlerDelegate.Result |
charTyped(char c,
Project project,
Editor editor,
PsiFile file)
Called after the specified character typed by the user has been inserted in the editor.
|
static void |
handleAfterJavaLT(Editor editor,
IElementType lt,
IElementType gt,
TokenSet invalidInsideReference)
|
static boolean |
handleJavaGT(Editor editor,
IElementType lt,
IElementType gt,
TokenSet invalidInsideReference)
|
static boolean |
isClassLikeIdentifier(int offset,
Editor editor,
HighlighterIterator iterator,
IElementType idType)
|
beforeSelectionRemoved, checkAutoPopup, isImmediatePaintingEnabledpublic TypedHandlerDelegate.Result beforeCharTyped(char c, Project project, Editor editor, PsiFile file, FileType fileType)
TypedHandlerDelegatebeforeCharTyped in class TypedHandlerDelegatepublic TypedHandlerDelegate.Result charTyped(char c, Project project, Editor editor, PsiFile file)
TypedHandlerDelegatecharTyped in class TypedHandlerDelegate@Deprecated public static boolean handleJavaGT(Editor editor, IElementType lt, IElementType gt, TokenSet invalidInsideReference)
TypedHandlerUtil.handleGenericGT(com.intellij.openapi.editor.Editor, com.intellij.psi.tree.IElementType, com.intellij.psi.tree.IElementType, com.intellij.psi.tree.TokenSet) instead@Deprecated public static void handleAfterJavaLT(Editor editor, IElementType lt, IElementType gt, TokenSet invalidInsideReference)
TypedHandlerUtil.handleAfterGenericLT(com.intellij.openapi.editor.Editor, com.intellij.psi.tree.IElementType, com.intellij.psi.tree.IElementType, com.intellij.psi.tree.TokenSet) instead@Deprecated
public static boolean isClassLikeIdentifier(int offset,
Editor editor,
HighlighterIterator iterator,
IElementType idType)
TypedHandlerUtil.isClassLikeIdentifier(int, com.intellij.openapi.editor.Editor, com.intellij.openapi.editor.highlighter.HighlighterIterator, com.intellij.psi.tree.IElementType) instead