Author: akazakov
Date: 2011-09-14 15:27:51 -0400 (Wed, 14 Sep 2011)
New Revision: 34743
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/core/TypeNames.java
Log:
https://issues.jboss.org/browse/JBIDE-9673 "Show All Generic Configuration
Points", "Show CDI Events" and "Show CDI Observer Methods"
dialogs should look like "Open Implementation" in JDT
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/core/TypeNames.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/core/TypeNames.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/core/TypeNames.java 2011-09-14
19:27:51 UTC (rev 34743)
@@ -0,0 +1,42 @@
+package org.jboss.jsr299.tck.tests.jbt.core;
+
+import javax.enterprise.inject.Produces;
+import javax.inject.Inject;
+
+public class TypeNames {
+
+ @Produces int[] arg1;
+ @Produces long arg2;
+ @Produces Integer[] arg3;
+ @Produces Short arg4;
+ @Produces Object arg5;
+
+ @Produces
+ public int[] getFoo() {
+ return new int[]{};
+ }
+
+ @Produces
+ public long getFoo1() {
+ return 0;
+ }
+
+ @Produces
+ public Integer[] getFoo2() {
+ return null;
+ }
+
+ @Produces
+ public Short getFoo3() {
+ return null;
+ }
+
+ @Produces
+ public Object getFoo4() {
+ return null;
+ }
+
+ @Inject
+ private void injectFoo(int[] arg1, long arg2, Integer[] arg3, Short arg4, Object arg5)
{
+ }
+}
\ No newline at end of file
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/core/TypeNames.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain