converted to walking visitor

This commit is contained in:
Alexey Kudravtsev
2015-07-30 14:56:54 +03:00
parent 7510af3ec2
commit 99a0bede9f
87 changed files with 483 additions and 559 deletions
@@ -17,13 +17,13 @@ class Test {
return (str);
}
@Nullable
@NotNull
String foo2(@Nullable String str) {
if (str == null) return "null";
return ((String)str);
}
@Nullable
@NotNull
String fram(@Nullable String str, boolean b) {
if (str != null) {
return b ? str : "not null strimg";