mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-15 02:13:50 +02:00
23 lines
529 B
Plaintext
23 lines
529 B
Plaintext
class Normal { int basicField;}
|
|
class Generic<T> { int basicField;}
|
|
|
|
aspect Injector {
|
|
void Normal.method() {}
|
|
void Generic.method() {}
|
|
int Normal.itdField;
|
|
int Generic.itdField;
|
|
|
|
void test() {
|
|
new Normal().method();
|
|
new Generic<Integer>().method();
|
|
|
|
int n1 = new Normal().basicField;
|
|
int normal = new Normal().itdField;
|
|
|
|
int a = new Generic<Integer>().basicField;
|
|
int b = new Generic<Integer>().itdField;
|
|
int c = new Generic().basicField;
|
|
int d = new Generic().itdField;
|
|
}
|
|
}
|