Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789101112131415 |
- @interface Annotation{}
- aspect B {
- declare @constructor : C.new(String) : @Annotation; // shouldn't have any errors
- declare @constructor : *.new(int) : @Annotation; // shouldn't have any errors
- declare @constructor : *.new(int) : @Annotation; // already get a warning for this, don't want an error saying method doesn't exist
- }
-
- class C {
- @Annotation public C(int i) {
- }
- }
-
- aspect D {
- public C.new(String s){}
- }
|