blob: dc64b17d63dfce7b418fcbf24d7e9e8be32cb0c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Using type parameter in ITD
public abstract aspect C<T> {
private T Foo.data;
public T Foo.getData(T defaultValue) {
return (this.data!=null?data:defaultValue);
}
}
public aspect C<String> { }
class Foo {
}
|