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
@@ -0,0 +1,20 @@
import com.google.common.collect.Iterables;
import com.google.common.base.Function;
import java.lang.String;
import java.util.ArrayList;
import java.util.Collections;
import java.util.stream.Collectors;
class c {
void m() {
Collections.emptyList().stream().map(input -> {
Collectors c;
ArrayList l;
System.out.println(input);
//do something
int i = 1;
return input;
}).collect(Collectors.toList())
}
}