Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test, currently broken, for creating an annotated type for a non-…
…static inner class with generic constructor parameters
- Loading branch information
Clint Popetz
committed
Oct 19, 2009
1 parent
07f5248
commit 097b1e5
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/Kangaroo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.jboss.weld.test.unit.implementation.annotatedItem; | ||
|
||
|
||
class Kangaroo | ||
{ | ||
LittleKangarooInHerPouch<String> procreate() | ||
{ | ||
return new LittleKangarooInHerPouch<String>("Joey"); | ||
} | ||
|
||
class LittleKangarooInHerPouch<T> | ||
{ | ||
LittleKangarooInHerPouch(T formalParam) | ||
{ | ||
} | ||
} | ||
} |