StaticPseudoFunctionalStyleMethodInspection: more clear options, validation of obtained result, part of problems with type parameters are fixed

This commit is contained in:
Dmitry Batkovich
2015-07-01 14:51:30 +03:00
parent e80642a796
commit 507388b7a5
20 changed files with 1152 additions and 406 deletions
@@ -6,7 +6,7 @@ import java.util.Collections;
class c {
void m() {
Collections.emptyList().stream().allMatch(getPredicate(100)::apply);
Collections.<String>emptyList().stream().allMatch(getPredicate(100)::apply);
}
public Predicate<String> getPredicate(final int param) {