@Override
  public void visitAssertStatement(@NotNull PsiAssertStatement statement) {
    if (myType1 == JavaTokenType.ASSERT_KEYWORD) {
      createSpaceInCode(true);
    }
    else if (myType1 == JavaTokenType.COLON) {
      createSpaceInCode(mySettings.SPACE_AFTER_COLON);
    }
    else if (myType2 == JavaTokenType.COLON) {
      createSpaceInCode(mySettings.SPACE_BEFORE_COLON);
    }
  }
@Override
  public void visitAssertStatement(@NotNull PsiAssertStatement statement)