Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuHalfPair/out/A.java')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuHalfPair/out/A.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuHalfPair/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuHalfPair/out/A.java
new file mode 100644
index 000000000..a2a8535f4
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuHalfPair/out/A.java
@@ -0,0 +1,18 @@
+package p;
+
+import java.util.ArrayList;
+
+class A<T, U> {
+ // cannot infer type for U -> leave raw
+ T t;
+ U u;
+
+ void addT(T arg) {
+ t= arg;
+ }
+
+ static void m() {
+ A p = new A();
+ p.addT("Hello");
+ }
+}

Back to the top