UnnecessaryFullyQualifiedName
please fix: https://pmd.github.io/pmd/pmd_rules_java_codestyle.html#unnecessaryfullyqualifiedname
- Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
+ Stream.of(values()).collect(Collectors.toMap(s -> s.id, s -> s)));
What problem are you trying to solve?
Describe the solution you'd like
Have you considered any alternatives or workarounds?
Additional context
Are you interested in contributing this feature to OpenRewrite?
Lacking detail here; why not on Collectors? We already have UseStaticImports. Does that fit the bill here? If DependencyScope is an enum (unclear from context) then this would not be a clear readability improvement, in which case we avoid changes.
Closing this issue for now; please stick to the template for any new issues. I'm going to close when not adhered to, because of the volume of issues coming in. We do not have the time to ask for clarification every time, and triage based on just a screenshot.
UseStaticImports
yes thx.
template
yes, sry. Dont have time and try to pitch first, give details later on. In this case would have been wasted effort.