A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1786 below:

[core] Generate visitor delegation logic · Issue #1786 · pmd/pmd · GitHub

In #1759, the visitor adapter sets up some delegation between visit methods to allow matching eg all expressions.

This is cool and allows us to write more expressive visitors (it's argumented on #1759). But there are some problems with it:

Ideally the visitor interface would have this delegation logic generated in default methods. This means we probably need to somehow augment JJTree to generate that (or write another generator).

Implementing this RFC gives us a strong basis to implement #1787.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4