1
0
şunun yansıması https://github.com/eclipse-aspectj/aspectj.git eşitlendi 2024-09-03 17:56:34 +02:00
org.aspectj/tests/new/DeclareOnlyAspectConstructorCE.java

12 satır
179 B
Java

/** @testcase PR851 declaring an aspect constructor with argument should be prohibited - sole constructor */
aspect A {
}
aspect B {
A.new(int i) { this(); } // CE 10
}