inspection to highlight and convert pseudo-functional code (like guava Iterables) to java 8 api. initial version

This commit is contained in:
Dmitry Batkovich
2015-03-12 15:27:19 +03:00
parent 710104958a
commit f6ccae5153
25 changed files with 1072 additions and 92 deletions
@@ -0,0 +1,21 @@
import com.google.common.collect.Iterables;
import com.google.common.base.Function;
import java.lang.String;
import java.util.Collections;
class c {
void m() {
Iterables.transf<caret>orm(Collections.emptyList(), new Function<String, String> () {
@Override
public String apply(String input) {
java.util.stream.Collectors c;
java.util.ArrayList l;
System.out.println(input);
//do something
int i = 1;
return input;
}
})
}
}