Skip to content

Commit c5b06e6

Browse files
author
svorenova
committed
Breaking the old parse_generic_class into two unit tests
A unit test for inner classes and a unit test for a basic generic class
1 parent d3ff11c commit c5b06e6

15 files changed

+279
-343
lines changed
Binary file not shown.
Binary file not shown.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
public class GenericInnerClasses
2+
{
3+
class Inner<E>
4+
{
5+
E elem;
6+
}
7+
8+
class BoundedInner<NUM extends java.lang.Number>
9+
{
10+
NUM elem;
11+
}
12+
13+
BoundedInner<Integer> belem;
14+
15+
class DoubleBoundedInner<T extends java.lang.Number & Interface>
16+
{
17+
T elem;
18+
}
19+
20+
class TwoElementInner<K, V>
21+
{
22+
K k;
23+
V v;
24+
}
25+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

unit/java_bytecode/java_bytecode_parse_generics/generics.java

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)