import java.util.List;


public class SLS_Sample {
	private String name;
	
	boolean hasIt(List<SLS_Sample> l, String n) {
		
		boolean found = false;
		for (SLS_Sample s : l) {
			if (s.name.equals(n)) {
				found = true;
			}
		}
		
		return found;
	}
	
}

@@ -66,16 +66,34 @@
 g name;%0A
+%09private int age;%0A
 %09%0A%09boole
@@ -266,10 +266,186 @@
 d;%0A%09%7D%0A%09%0A
+%09boolean hasAge(List%3CSLS_Sample%3E l, int age) %7B%0A%09%09%0A%09%09boolean found = false;%0A%09%09for (SLS_Sample s : l) %7B%0A%09%09%09if (s.age == age) %7B%0A%09%09%09%09found = true;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return found;%0A%09%7D%0A%09%0A
 %7D%0A

add another test pattern for SLS