public class JavaTypedHandler extends TypedHandlerDelegate
TypedHandlerDelegate.Result
EP_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, isImmediatePaintingEnabled
public TypedHandlerDelegate.Result beforeCharTyped(char c, Project project, Editor editor, PsiFile file, FileType fileType)
TypedHandlerDelegate
beforeCharTyped
in class TypedHandlerDelegate
public TypedHandlerDelegate.Result charTyped(char c, Project project, Editor editor, PsiFile file)
TypedHandlerDelegate
charTyped
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