1 package g5.m.ref; 2 3 import g5.m.def.*; 4 5 6 // Test methods calls to a raw types 7 public class RefRaw { 8 // Single type parameter generic type testSingle()9 void testSingle() { 10 Single gs = new Single(); 11 gs.standard(new Exception()); 12 gs.generic(new Exception()); 13 gs = gs.returnParamType(); 14 gs.paramTypesArgs(gs); 15 gs.complete(new Exception(), gs); 16 } 17 // Multiple type parameters generic type testMultiple()18 void testMultiple() { 19 Multiple gm = new Multiple(); 20 gm.standard(new Object(), new Exception(), new RuntimeException()); 21 gm.generic(new Object(), new Exception(), new RuntimeException()); 22 gm = gm.returnParamType(); 23 gm.paramTypesArgs(new Single<Object>(), new Single<Exception>(), new Single<RuntimeException>(), gm); 24 gm = gm.complete(new Object(), new Exception(), new RuntimeException(), gm); 25 } 26 } 27