public static void done(final PsiBuilder.Marker marker, final IElementType type) { marker.done(type); final WhitespacesAndCommentsBinder left = PRECEDING_COMMENT_SET.contains(type) ? PRECEDING_COMMENT_BINDER : null; final WhitespacesAndCommentsBinder right = TRAILING_COMMENT_SET.contains(type) ? TRAILING_COMMENT_BINDER : null; marker.setCustomEdgeTokenBinders(left, right); }
@Override public void setCustomEdgeTokenBinders(@Nullable WhitespacesAndCommentsBinder left, @Nullable WhitespacesAndCommentsBinder right) { myDelegate.setCustomEdgeTokenBinders(left, right); }