Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuTypeLiteral/out/A.java')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuTypeLiteral/out/A.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuTypeLiteral/out/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuTypeLiteral/out/A.java
new file mode 100644
index 000000000..13ec32c76
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuTypeLiteral/out/A.java
@@ -0,0 +1,12 @@
+package p;
+
+import java.lang.reflect.Method;
+
+@SuppressWarnings("deprecation")
+public class A {
+ void m(A a) throws Exception {
+ Class<? extends A> clazz = a.getClass();
+ Method method = clazz.getMethod("m", A.class);
+ SuppressWarnings suppressed = method.getAnnotation(SuppressWarnings.class);
+ }
+}

Back to the top