public class EntryPointTypesTest {

    static class TestObject {
        public String field1;
        private String field2;
        private AnotherTestObject field3;

        public String getField2() {
            return field2;
        }

        public AnotherTestObject getField3() {
            return field3;
        }
    }

    static class AnotherTestObject {
        public String field4;
        private String field5;

        public String getField5() {
            return field5;
        }
    }

    static class ParameterizedTestObject<T, K> {
        public String field6;
        public T field7;
        private K field8;

        public K getField8() {
            return field8;
        }
    }

    private static void sink(String sink) {}

    public static void test(TestObject source) {
        sink(source.field1); // $hasTaintFlow
        sink(source.getField2()); // $hasTaintFlow
        sink(source.getField3().field4); // $hasTaintFlow
        sink(source.getField3().getField5()); // $hasTaintFlow
    }

    public static void testParameterized(
            ParameterizedTestObject<String, AnotherTestObject> source) {
        sink(source.field6); // $hasTaintFlow
        sink(source.getField7().field1); // $hasTaintFlow
        sink(source.getField7().getField2()); // $hasTaintFlow
        sink(source.getField8().field4); // $hasTaintFlow
        sink(source.getField8().getField5()); // $hasTaintFlow
    }
}

@@ -1111,22 +1111,26 @@
 tObject%3C
-String
+TestObject
 , Anothe
@@ -1218,27 +1218,22 @@
 (source.
-getF
+f
 ield7
-()
 .field1)
@@ -1275,19 +1275,14 @@
 rce.
-getF
+f
 ield7
-()
 .get

Fix test