1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|
public aspect HasMethodViaITD { declare parents : hasmethod(* foo()) implements I; // C gets foo via ITD public void C.foo() {} declare warning : execution(* I+.bar()) : "hasmethod matched on ITD ok"; } interface I {} class C { void bar() {} }rel='alternate' title='Atom feed' href='https://source.dussan.org/nextcloud-server.git/atom/lib/public/AppFramework/Http/NotFoundResponse.php?h=object-store-filename' type='application/atom+xml'/>