--- /dev/null
+public class X {
+ int f(boolean b) {
+ if (b) {
+ return 1;
+ }
+ return 0;
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ int f(boolean b) {
+ if (b) <spot>return 1</spot>;
+ return 0;
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ int f() {
+ System.out.println(i);
+ i++;
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ int f() {
+ System.out.println(<spot>i++</spot>);
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ String f() {
+ return new StringBuffer().append("1").append("2").toString();
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ String f() {
+ return <spot>"1" + "2"</spot>;
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ boolean f(boolean a) {
+ return a;
+ }
+}
\ No newline at end of file
--- /dev/null
+public class X {
+ boolean f(boolean a) {
+ <spot>if</spot> (a) {
+ return true;
+ }
+ return false;
+ }
+}
\ No newline at end of file