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,19 @@
import com.google.common.collect.Iterables;
import com.google.common.base.Function;
import java.lang.String;
import java.util.Collections;
class c {
Iterable<String> transform = Iterables.tra<caret>nsform(Collections.emptyList(), new Function<String, String>() {
@Override
public String apply(String input) {
Collectors c;
ArrayList l;
System.out.println(input);
//do something
int i = 1;
return input;
}
});
}