コード例 #1
0
 @Override
 public void beforeCharDeleted(final char c, final PsiFile file, final Editor editor) {
   Language _language = file.getLanguage();
   final IdeaAutoEditHandler autoEditHandler =
       IdeaAutoEditHandlerExtension.INSTANCE.forLanguage(_language);
   boolean _notEquals = (!Objects.equal(autoEditHandler, null));
   if (_notEquals) {
     autoEditHandler.beforeCharDeleted(c, file, ((EditorEx) editor));
   }
 }
コード例 #2
0
 @Override
 public boolean charDeleted(final char c, final PsiFile file, final Editor editor) {
   boolean _xblockexpression = false;
   {
     Language _language = file.getLanguage();
     final IdeaAutoEditHandler autoEditHandler =
         IdeaAutoEditHandlerExtension.INSTANCE.forLanguage(_language);
     boolean _xifexpression = false;
     boolean _notEquals = (!Objects.equal(autoEditHandler, null));
     if (_notEquals) {
       _xifexpression = autoEditHandler.charDeleted(c, file, ((EditorEx) editor));
     } else {
       _xifexpression = false;
     }
     _xblockexpression = _xifexpression;
   }
   return _xblockexpression;
 }