mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
15 lines
195 B
Java
15 lines
195 B
Java
|
|
||
|
|
||
|
public class PrimitiveCoercionInExactTypePatternMatching {
|
||
|
double foo(double x) {
|
||
|
return x;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
aspect Aspect {
|
||
|
|
||
|
pointcut foo(int b): args(b);
|
||
|
|
||
|
before(int i) : foo(i) {
|
||
|
}
|
||
|
}
|