Skip to content

Add getSymbols(Predicate, LookupKind) compatibility method#2629

Closed
fawind wants to merge 1 commit intogoogle:masterfrom
fawind:fw/get-symbols-lookup-kind
Closed

Add getSymbols(Predicate, LookupKind) compatibility method#2629
fawind wants to merge 1 commit intogoogle:masterfrom
fawind:fw/get-symbols-lookup-kind

Conversation

@fawind
Copy link
Copy Markdown
Contributor

@fawind fawind commented Oct 18, 2021

Add a compatibility helper method for getSymbols(Predicate<Symbol>, LookupKind).

Context:
In gradle-baseline, we maintain our own set of error-prone rules and ran into similar JDK 17 compatibility problems as mentioned in #2330.

However for our custom rules, we also need a compatibility helper for getSymbols(Predicate, LookupKind). For now, we work around this by copying parts of the ErrorProneScope class (PR) but ideally we could reuse the existing helper and wouldn't have to maintain our own fork of this class.

@google-cla google-cla Bot added the cla: yes label Oct 18, 2021
@fawind fawind changed the title Add getSymbols(Predicate, LookupKind) compatibility method Add getSymbols(Predicate, LookupKind) compatibility method Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants