blob: 150dea67befb88b51bf156ba71b9e2e77a3cf96a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import java.util.*;
public aspect CtorG {
// visibility options...
public Base<Z>.new(List<Z> lz,int i) { this();}
private Base<Z>.new(List<Z> lz,String s) { this();}
Base<Z>.new(List<Z> lz,boolean b) {this();}
public static void main(String []argv) {
List<Integer> intList = new ArrayList<Integer>();
Base b1 = new Base(intList,1);
// Base b2 = new Base(intList,"a");
Base b3 = new Base(intList,true);
}
}
class Base<N extends Number> {
}
|